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: Virtual host 403 error on one site but other |
|
Author |
|
exeter-it
Joined: 22 Nov 2009 Posts: 3
|
Posted: Sun 22 Nov '09 0:53 Post subject: Virtual host 403 error on one site but other |
|
|
Hi there i'm kinda hoping someone can help me with my config as i keep getting 403 errors on one of my sites but not the other. what could be causing this?
Here is my vhost file if that helps
# Use name-based virtual hosting.
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@exeter-it.co.uk
DocumentRoot "C:/Documents and Settings/Administrator/My Documents/Exeter-it/Customers/Drew/chamling.com/web"
ServerName chamling.com
ServerAlias www.chamling.com
</VirtualHost>
<VirtualHost *:80>
ServerName www.littlez.co.uk
ServerAlias littlez.co.uk
DocumentRoot "C:/Documents and Settings/Administrator/My Documents/Exeter-it/Customers/Littlez/littlez.co.uk/web"
<directory "C:/Documents and Settings/Administrator/My Documents/Exeter-it/Customers/Littlez/littlez.co.uk/web">
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</directory>
</VirtualHost>
Please help
Moderator Note: Removed most comment lines |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sun 22 Nov '09 1:04 Post subject: |
|
|
www.littlez.co.uk
Order Deny,Allow
Deny from all
You've denied access to that host.
To allow access
Opder Allow,Deny
Allow from all
Also, try and match proper case
<Directory not <directory |
|
Back to top |
|
exeter-it
Joined: 22 Nov 2009 Posts: 3
|
Posted: Sun 22 Nov '09 1:07 Post subject: |
|
|
Thank you for the fast respone it worked great thank you. |
|
Back to top |
|
|
|
|
|
|