| | |
403 Forbidden You don't have permission to access /index.htm on this server.
![]() |
•
•
Join Date: Apr 2005
Posts: 1
Reputation:
Solved Threads: 0
I am an Apache/linux newbie. (Trying to learn this technology...)
I setup a Mandrake 10.1 server, and am trying to setup virtual hosting.
I created a user and a www folder. Set the www folder permission to 777.
I created a virtual server as follows:
<VirtualHost *>
DocumentRoot "/home/domain/www"
ServerName *.domain.com
<Directory "/home/domain/www">
allow from all
Options +Indexes
DirectoryIndex index.html index.htm default.htm
</Directory>
</VirtualHost>
I added the DirctoryIndex line, but get the same error with or without that line.
If I try to browse any file including the root site, I get the following error message:
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
I'm assuming that this is a permission based issue, however I have 777 permissions set, so it should work. Any help would be appreciated!
Thanks!
I setup a Mandrake 10.1 server, and am trying to setup virtual hosting.
I created a user and a www folder. Set the www folder permission to 777.
I created a virtual server as follows:
<VirtualHost *>
DocumentRoot "/home/domain/www"
ServerName *.domain.com
<Directory "/home/domain/www">
allow from all
Options +Indexes
DirectoryIndex index.html index.htm default.htm
</Directory>
</VirtualHost>
I added the DirctoryIndex line, but get the same error with or without that line.
If I try to browse any file including the root site, I get the following error message:
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
I'm assuming that this is a permission based issue, however I have 777 permissions set, so it should work. Any help would be appreciated!
Thanks!
•
•
Join Date: Apr 2005
Posts: 19
Reputation:
Solved Threads: 0
Re: 403 Forbidden You don't have permission to access /index.htm on this server.
0
#2 Apr 18th, 2005
check your permissions... is /home/domain/www readable by apache? Also, is the server & virtHost name really wild-carded? This may be a problem... I usually specify (e.g. for domains I use locally <VitualHost 127.0.0.1:80> (also match <NameVitualHost 127.0.0.1:80> ) ...blah blah.. ServerName mydom.dom
Also, if you're using symbolic links, you my need that option used here
Also, if you're using symbolic links, you my need that option used here
Re: 403 Forbidden You don't have permission to access /index.htm on this server.
0
#3 Apr 22nd, 2005
•
•
Join Date: Apr 2005
Posts: 13
Reputation:
Solved Threads: 0
Re: 403 Forbidden You don't have permission to access /index.htm on this server.
0
#4 Apr 24th, 2005
![]() |
Similar Threads
- HTTP Error 403 - Forbidden error for accessing html and asp page (ASP)
- 403 Forbidden error (PHP)
- "Forbidden / You don't have permission to access / on this server." error (Linux Servers and Apache)
- Forbidden | You don't have permission to access /~username on this server. (Linux Servers and Apache)
- Google 403 Forbidden error (Search Engine Optimization)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: On execution of perl script, popup asks if i want to save or run this file
- Next Thread: I'm fooling with mod_rewrite...
| Thread Tools | Search this Thread |
.net apache apple asus bbc bluegene centos cisco citrix cloud cloudcomputing datacenters debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora gadgets gentoo gos government gpl hardware hp hyper-v ibm java jobs kindle knoppix kvm laptop laptops lawsuits licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen





