Apache DocumentRoot

Questions, comments, or suggestions on how to improve the EnGarde Secure Linux community.

Moderators: scrumpy, Dave, leihog

Apache DocumentRoot

Postby jgreyling on Sun Jul 01, 2007 3:31 pm

Hi

I've recently installed EnGarde, and so far I like it. I'm used to work with the 'cmd line' and have been working with RHEL since 1998.

So far I like the full automation, it's real good, however I've picked up a shortcoming (in my view). When I build the filesystems at install, I created a separate partition just for www contents. When I configured my first webserver I was surprised not to see a 'DocumentRoot' option in the list. I had to manually change the httpd.conf to point to my prefered root. Is there anyway to add this in a future release? I know I could change $docroot.

I also can't seem to change the port number (and hence whether I want to use name based virtual hosting or ip virtual hosting. More flexibility will be great.

regards-

Jaco
jgreyling
 
Posts: 1
Joined: Sun Jul 01, 2007 3:22 pm
Location: London

RE: Apache DocumentRoot

Postby wkeys on Mon Jul 02, 2007 10:52 am

hi

When I configured my first webserver I was surprised not to see a 'DocumentRoot' option in the list. I had to manually change the httpd.conf to point to my prefered root. Is there anyway to add this in a future release? I know I could change $docroot.


Please make a bug report if you feel that this feature should be added.

I also can't seem to change the port number (and hence whether I want to use name based virtual hosting or ip virtual hosting. More flexibility will be great.


To change the port number edit the /etc/httpd/conf/httpd.conf

Code: Select all
Listen 80


Then you will need to set SELinux in permissive mode to prevent SELinux from blocking apache to listen on your port.

~bill
wkeys
 
Posts: 283
Joined: Thu Feb 01, 2007 5:43 pm


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron