[PLUG] Setting up Apache Web Server on FC4 with different root directory

Hemant Mohan hmohan at gmail.com
Thu Apr 20 06:02:49 IST 2006


On Sunday 16 April 2006 13:20, Prabhat Sandheliya wrote:
> Hey Rajeev,
>
> Check the permissions of that dir. is it 755 ? If not make it. will
> work fine.
>

> >   I would like to setup Apache web server under Fedora Core 4.0,
> > with the root being a different directory than /var/www/html. I
> > edited /etc/httpd/conf/httpd.conf and changed DocumentRoot from
> > /var/www/html to /home/rajeev/suite. But when I try to access the
> > Web Page, I get 'Access to
> > / forbidden' error.
> > What other changes are required?
> > Any help appreciated.

Also check out if the owner  (uid + guid)of the new document root is the 
same as that running httpd  (or apache).  Sometimes the firewall 
(iptables) and Selinux may also create problems.

Hemant
-- 
Confession is good for the soul only in the sense that a tweed coat is
good for dandruff.
		-- Peter de Vries




More information about the Plug-mail mailing list