Forums

anwoke8204
anwoke8204
Offline
Resolved
0 votes
hi, im trying to run some virtual hosts on my COS server, I have enabled ftp and have uploaded content to the virtual host, but no matter what I do, I get an error 403 forbidden. ive tried changing the user to apache:apache from flexshare:mygroup, ive tried changing it to root, nothing seems to work.

I just get:

Forbidden

You don't have permission to access / on this server.
Apache/2.2.15 (ClearOS Core) Server at whitebuffalo.reddwarflegion.org Port 80

how can I fix this?

I also get t his on
flutterbea.org and
thebreedrpg.org
Monday, April 08 2013, 08:14 PM
Share this post:
Responses (2)
  • Accepted Answer

    anwoke8204
    anwoke8204
    Offline
    Tuesday, April 09 2013, 06:16 AM - #Permalink
    Resolved
    0 votes
    I was able to get it resolved, I copied the apache httpd.conf file from another COS server, changed the server name, and then set the ownership of /var/www/virtual/ to apache:apache
    The reply is currently minimized Show
  • Accepted Answer

    anwoke8204
    anwoke8204
    Offline
    Monday, April 08 2013, 08:25 PM - #Permalink
    Resolved
    0 votes
    I checked the error log and this is what I get

    [Mon Apr 08 13:51:20 2013] [crit] [client 50.73.47.188] (13)Permission denied: /var/www/virtual/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Mon Apr 08 13:51:21 2013] [crit] [client 50.73.47.188] (13)Permission denied: /var/www/virtual/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Mon Apr 08 14:02:50 2013] [crit] [client 50.73.47.188] (13)Permission denied: /var/www/virtual/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Mon Apr 08 14:02:54 2013] [crit] [client 50.73.47.188] (13)Permission denied: /var/www/virtual/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Mon Apr 08 14:16:17 2013] [crit] [client 50.73.47.188] (13)Permission denied: /var/www/virtual/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Mon Apr 08 14:16:40 2013] [crit] [client 50.73.47.188] (13)Permission denied: /var/www/virtual/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Mon Apr 08 14:18:22 2013] [crit] [client 50.73.47.188] (13)Permission denied: /var/www/virtual/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Mon Apr 08 14:18:24 2013] [crit] [client 50.73.47.188] (13)Permission denied: /var/www/virtual/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Mon Apr 08 14:22:20 2013] [crit] [client 50.73.47.188] (13)Permission denied: /var/www/virtual/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Mon Apr 08 14:22:22 2013] [crit] [client 50.73.47.188] (13)Permission denied: /var/www/virtual/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Mon Apr 08 14:23:05 2013] [crit] [client 50.73.47.188] (13)Permission denied: /var/www/virtual/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable


    but I see no .htaccess file in /var/www/virtual/
    The reply is currently minimized Show
Your Reply