403 Error in Apache?

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users 403 Error in Apache?
# 1  
Old 12-17-2001
403 Error in Apache?

I have installed Apache lots of times before. I have recently installed apache on FreeBSD. And it gives me all the time 403 Frobidden - you don't have permittion to access / directory. I have checked permitions. I've got -rwxrwxr-x for for all Apache DocumentRoot. I've checked Files directive in httpd.conf, as well as "allow and deny" for Directory directive. Everything seems to be correct. But I still get this error message. Could some one suggest me anything about that.

Thank you all
# 2  
Old 12-18-2001
Have you checked the error_log for more details?
# 3  
Old 12-18-2001
I found out what was the problem, thank you for help.
# 4  
Old 07-28-2002
What wsa the problem

I am having a similar (same) problem with Apache on Redhat 7.0 on my virtual host.

The main site works /var/www/html.
the virtual site works when i move the root directory of the virtual site to /var/www/html2.
but when i move the virtual site to /home/username/www/html i get that 403 Frobidden - you don't have permittion to access / directory error message.
I too have tried messing with permissions on the folder.

I would love to know what the problem was, more specifically what you did to solve it. I am relatively new to unix/linux so go easy on me Smilie
# 5  
Old 07-29-2002
More information needed

Could you lookup your error_log file and tell me what it's got in there. If you use 7.1, this file is supposed to be at /var/log/httpd/error_log

Thank you.
# 6  
Old 07-29-2002

About an hour after posting the message I figured out the problem.

I had to change the permissions on the /home and on the /home/user directories.

It seems funny that you need to do this. I would have thought on the path /home/user/www/html the "www" and the "html" directories with a permission of 755 would have sufficed. Odd that you have to change the directory permissions that contain these directories.

(My virtual sites directory is off of /home/user/www/html)

Its working now??!!

Thanks again for your time solvman.

# 7  
Old 07-30-2002
It should be like that. Coz Apache operates as a defined user (apache, www ... or whatever is configured in your user and group deractives in your htttpd.conf). And it makes sence. To change to directory you have to have execute (x) permition set. So, whenever Apache was trying to go to your /home/blablabla/www it couldnt go because it could NOT change to /home first.

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Apache Tomcat(403 Access Denied)

Good evening, i've got a problem. I fail to enter "Manager App" in Apache Tomcat/9.0.0.M9 on server, it says "403 Access Denied». for example, server address is, when I type 'localhost ' in the browser and press "Manager App", then everything is ok. but if I enter and press... (0 Replies)
Discussion started by: v.k.l.chr.by
0 Replies

2. Shell Programming and Scripting


Hi Friends, I did an extensive search over the internet and tried all possible solutions that were recommended, but couldn't figure this out. Please see this link http://www.dli.gov.in/data6/upload/0159/808/PTIFF/00000007.tif It works. But, when I try the following command wget -r... (7 Replies)
Discussion started by: jacobs.smith
7 Replies

3. Shell Programming and Scripting

403-009 The specified number is not valid for this command.

Error Message: dm2_oraver: 9xdm2_oraver2: LT11/w_standard/gold_wh/install/dm2_updatetns.ksh: 11MAR13: 0403-009 The spe cified number is not valid for this command. if means the line number in the ksh, it is ((CntNew=Cnt+1)). Please let me know the best way to debug and find it out. I am... (4 Replies)
Discussion started by: Daniel Gate
4 Replies

4. UNIX for Dummies Questions & Answers

No mail sending - Deferred: 403 4.7.0 TLS handshake failed

Please help! I am in urgent need of assistance. What started out as a small problem with IMAP folders not working seems to have spread. Our mail server, Scalix running on CentOS 5.5 isn't sending out any mail. There are now over 400 emails queued waiting to go out, all of which give the... (0 Replies)
Discussion started by: beckyboo
0 Replies

5. UNIX for Dummies Questions & Answers

http to https Apache, AllowOverride All receives 403 err htaccess

Hi new to the forum, I have a Apache server on CentOS which hosts a web site. I've set up the SSL which has been tested as I can access my website via http and https. I would like to redirect all browsers to use https instead of http. I have created the htaccess file which contains 'Allow... (3 Replies)
Discussion started by: Sai245
3 Replies

6. Web Development

Change internally 403 Error to 404 Error

I have the htaccess file within the folder in the domain I want to deny access to all users, execept one IP, after that redirects Error 403 resulting to a 404 error custom html page as shown below. # Restringting access! deny from all allow from # Example of allowed IP... (1 Reply)
Discussion started by: cgkmal
1 Replies

7. Web Development

403 Forbidden / show directories

I have a directory that I want to just list the items when going to the URL instead of having an index.html page in the folder. I keep getting a 403 forbidden even though it is in my document root. I tried to add: Alias /keys/ "/var/www/html/keys/" <Directory "/var/www/html/keys"> ... (6 Replies)
Discussion started by: ippy98
6 Replies

8. Solaris

apache error

dear all i install apache in solaris 10 and configure it but when i start catalina it give the error below : Exception in thread "main" java.lang.NoClassDefFoundError: cat/conf/krb5/conf does any one know about this error ?? (2 Replies)
Discussion started by: murad.jaber
2 Replies

9. UNIX for Dummies Questions & Answers

Apache Error

Hi, I am getting the error given below in the apache error_log. Error: tcgetattr: Invalid argument ioctl I_PUSH ttcompat: No such device or address sh: /xyz: not found the file xyz is there in the location with the necessary permissions. Could anyone help me with this. Thanks,... (1 Reply)
Discussion started by: amitsayshii
1 Replies
Login or Register to Ask a Question