0

I'd installed KOHA Integrated Library System using pre-made image through a Virtual Box. I want to find the path location of my Apache Server so that I can manipulate/modify the files for my customization.

Any help would be very much appreciated. Thanks.

EDIT:

I tried to run the following code:

grep DocumentRoot /etc/apache2/sites-enabled/ -R

but an output shows :

/etc/apache2/sites-enabled/000-default: DocumentRoot /var/www 
grep: etc/apache2/sites-enabled/mathlibrary: Permission denied 

Am I doing the right thing?

1 Answers1

0

It can be in any number of places. If KOHA uses Apache, try this:

grep DocumentRoot /etc/apache2/sites-enabled/ -R

Replace apache2 with nginx if KOHA uses nginx.

muru
  • 197,895
  • 55
  • 485
  • 740
  • KOHA uses apache. I tried what you've said but it only shows </etc/apache2/sites-enabled/000-default: DocumentRoot /var/www > grep: etc/apache2/sites-enabled/mathlibrary: Permission denied > I am doing the right thing? –  Aug 14 '14 at 09:38
  • @AlyssaGono whatever it shows, please edit the question to post the output. It's hard to read output in comments. – muru Aug 14 '14 at 09:42
  • @AlyssaGono, it looks like /var/www is the DocumentRoot which AFAIK is the default for Apache anyway. – Holloway Aug 14 '14 at 09:46
  • @Trengot depends on the version. On 14.04, the default is /var/www/html. It could be something custom for KOHA. – muru Aug 14 '14 at 10:02
  • @AlyssaGono run the command with sudo. You need the DocumentRoot for mathlibrary, not the default site. – muru Aug 14 '14 at 10:03