Re: Problem with apache virtual host in new fedora 12 installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10 March 2010 22:55, Richard Cahilig <r.cahilig@xxxxxxxxx> wrote:
> Hi,
>
> I have problem with my new apache virtual host setup in my fedora 12 server.
> I can't access it in the browser and I am receiving error 403. Please see
> the error below in my error_log.
>
>>
>> [Thu Mar 11 14:24:40 2010] [crit] [client 127.0.0.1] (13)Permission
>> denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file,
>> ensure it is readable
>> [Thu Mar 11 14:24:45 2010] [crit] [client 127.0.0.1] (13)Permission
>> denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file,
>> ensure it is readable
>> [Thu Mar 11 14:24:48 2010] [crit] [client 127.0.0.1] (13)Permission
>> denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file,
>> ensure it is readable
>>
> I already disabled se linux and change the ownership of the
> "/home/user/public_html" directory to user "user" and group "user". I also
> change the file permission to 777 but I'm still having error 403. Please see
> my virtual host config below:
>
>> NameVirtualHost *:80
>> <VirtualHost *:80>
>>     ServerAdmin root@localhost
>>     DocumentRoot /home/user/public_html
>>     ServerName example.com
>>     ServerAlias www.example.com
>>     ErrorLog /home/user/logs/error_log
>>     CustomLog /home/user/logs/access_log common
>>     <Directory /home/user/public_html">
>>         Options Indexes FollowSymLinks
>>         AllowOverride None
>>         Order allow,deny
>>         Allow from all
>>     </Directory>
>> </VirtualHost>
>
> Please help me. I don't know what seems to be the problem.

Walk your way back up the directory tree to / and check that all the
paths on the way are readable by the Apache user (apache). If the
directories aren't executable by apache, it can't walk down the tree
to your files and .htaccess. Looking at your config, my first guess
would be that your /home/user directory doesn't have world execute
permissions.

--
Sam
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux