fyrebird Posted September 6, 2003 Report Share Posted September 6, 2003 I am trying to set up a small webpage, and setup apache used webmin, and isntructions from a webpage, I get this message when I do a "Http:localhost" FORBIDEN You do now have permission to access / on <IP ADDRESS> port 80, I have set the folder to use to "Share" set all the files to read by everyone, and here is my Vhost.conf: IP Based Virtual HostsVirtualHost <ipAddress> User <Name> Group <Name> DocumentRoot /home/<user>/www ServerName <name of computer> Setenv VLOG /home/<username>/logs RewriteEngine ON RewriteOptions inherit </virtualhost> Named Vritual Host NamedVirtualHost <IPAddress> <VirtualHost <IPAddress>> Servername www.<sitename>.com ServerPath /home/<username>/WWW DocumentRoot /home/<username>/WWW </VirtualHost> It seems to be a permissions problem, but not sure what else to check, or if I have something installed wrong, any help would be most apriciated Thank you. Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted September 6, 2003 Report Share Posted September 6, 2003 Does your host allow access through port 80? Quote Link to comment Share on other sites More sharing options...
fyrebird Posted September 6, 2003 Author Report Share Posted September 6, 2003 Good question.... I have no idea, I have no firewall set, yet... how would I check that? It sounds like thats what it is, though, doesn't it? Thanks Quote Link to comment Share on other sites More sharing options...
paul Posted September 6, 2003 Report Share Posted September 6, 2003 also in /etc/httpd/conf/commonhttpd.conf have you set the permissions on the directory ?? <Directory /home/<user>/www> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain text/xml </IfModule> Options -Indexes FollowSymLinks MultiViews ExecCGI AllowOverride All <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> </Directory> and have you set the permissions on the directories? chmod 755 /home/user chmod 755 /home/user/www Quote Link to comment Share on other sites More sharing options...
fyrebird Posted September 7, 2003 Author Report Share Posted September 7, 2003 Thanks for all the help, I am getting there, I no longer see the Forbidden screen, when doing a localhost, or http:/<ipaddress>, but the Index.shtml one, letting me know it's working now. I'll keep playing around, and see if I can get it to display the page I made. Thanks again for all the help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.