Linux / UNIX Tech Support Forum
This is a discussion on Apache error 403 Permission access on RHEL5 within the Web servers forums, part of the Mastering Servers category; Hi, I have built a test machine in our LAN environment. I am using https-2.2.3-6 on RHEL5 (2.6.18-8.el5). If I ...
|
|||||||
| Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I have built a test machine in our LAN environment. I am using https-2.2.3-6 on RHEL5 (2.6.18-8.el5). If I run the normal server without virtual hosts I can see the page over the LAN and on that box. But when i introduced a virtual host with the following code in httpd.conf it doesnt work and give me the error on the same box. "403 Forbidden You don't have permission to access / on this server" NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot /home/http/test ServerName test.mycompany.com ErrorLog logs/test.mycompany.com-error_log CustomLog logs/test.mycompany.com-access_log combined </VirtualHost> If I check the syntax it shows OK. ============= # httpd -S VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:80 is a NameVirtualHost default server test.mycompany.com (/etc/httpd/conf/httpd.conf:1020) port 80 namevhost test.mycompany.com (/etc/httpd/conf/httpd.conf:1020) Syntax OK ============= Can any body tell me what can be the problem?? waiting for reply. Many thanks. |
| Sponsored Links | ||
|
|
|
||||
|
Run following on /home/http/test:
Code:
mkdir +x /home/http/test
__________________
Vivek Gite Linux Evangelist |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Grant Start / Stop Apache Server Permission to Normal User | tanweernoor | Web servers | 3 | 01-12-2008 04:13 AM |
| Apache 503 error | sweta | Web servers | 0 | 01-11-2007 03:00 AM |
| Set and access apache from DSL / ADSL connection | paul555 | Web servers | 4 | 17-07-2007 04:38 PM |
| Relay Access Denied Error 554 | rbizzell | All about FreeBSD/OpenBSD/NetBSD | 3 | 20-07-2006 02:48 AM |
| Debian recovery mode read only access make it write access | Donavit | Linux software | 1 | 30-12-2005 12:49 AM |