Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: I am having problems accessing my website on my Apache serve |
|
Author |
|
rlttharp
Joined: 04 Jul 2007 Posts: 12 Location: Chicago, IL Jonesboro, AR
|
Posted: Wed 05 Sep '07 0:54 Post subject: I am having problems accessing my website on my Apache serve |
|
|
Hello All,
I have just created a virtual server inside my Apache server using webmin! I have an e-commerce site I am putting up. When I first put it up it was in the root directory and I had a problem with security which was solved. Now since I have moved it to the virtual area I have tis error log message: "[Tue Sep 04 18:02:09 2007] [error] [client 76.245.94.169] Directory index forbidden by Options directive: /var/www/html/" and this is the access log message that goes with it "76.245.94.169 - - [04/Sep/2007:17:59:01 -0500] "GET / HTTP/1.1" 403 3956" Also it just goes to the FedoraCore test page? I am a newbie to Linux and Apache so any help would be greatly appreciated. www.petestown.com
Rich |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 05 Sep '07 9:29 Post subject: |
|
|
hello!
Inside your vhost, you have to set the permission for your vhost.
e.g.
Code: |
<VirtualHost *:80>
ServerAdmin you@your.tld
DocumentRoot /var/www/html/
ServerName petestown.com
ServerAlias www.petestown.com
ErrorLog /server2/logs/error.log
CustomLog /server2/logs/access.log common
<Directory "/var/www/html/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
|
Secondly you should edit your /etc/httpd/conf.d/welcome.conf
Because there is a redirect inside. |
|
Back to top |
|
rlttharp
Joined: 04 Jul 2007 Posts: 12 Location: Chicago, IL Jonesboro, AR
|
|
Back to top |
|
|
|
|
|
|