Jump to content

Apache 2.0.47 need assistance


fyrebird
 Share

Recommended Posts

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 Hosts

VirtualHost <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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...