- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: apache -- Virtual Diretory as in IIS -- plz he...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 12:55 AM
10-02-2005 12:55 AM
I have to configure something like "Virtual Directory(IIS)" in apache
DocumentRoot "/var/htdocs".
I have a directory /rprts2005 that have html files.
I created a symlink
ln -s /rprts /var/htdocs/sales2005
now from client I tried to acces the pages by typing the url:
http://ip/sales2005/page.html
Apache server give me the following error page.
Forbidden
You don't have permission to access /sales2005/page.html on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.52 (Red Hat) Server at 10.0.0.1 Port 80
what should i do ?
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 01:13 AM
10-02-2005 01:13 AM
SolutionIf the directory the virtual server refers to is empty, you will get this error. Put a basic html document in it to test.
Also, SELINUX might not allow documents to be in locations other than the DocumentRoot location defined in httpd.conf
For certain configurations you may neeed to turn off SELINUX
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 01:14 AM
10-02-2005 01:14 AM
Re: apache -- Virtual Diretory as in IIS -- plz help
set up in your Apache config file httpd.conf for your /var/htdocs directory. Also directories in the link would all need to be world readable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 04:37 AM
10-02-2005 04:37 AM
Re: apache -- Virtual Diretory as in IIS -- plz help
Yes SEP, SELinux was enabled on my system.. and I have disabled it.
ans Vernon Brown, I have no entry of "FollowSymLinks" in my httpd.conf for /var/htdocs directory... and I simply provide/write it into my /var/htdocs directory as:
Options FollowSymLinks
By following both of u(SEP, and Vernon) its working now
Thanks n Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 01:30 PM
10-03-2005 01:30 PM
Re: apache -- Virtual Diretory as in IIS -- plz help
Alias /sales2005 /rpts
blah blah
blah
Pls look the usages and what options you may need/want inside the
Thanks,
Tom Callahan
TESSCO Technologies Inc.
443.506.6216
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 02:29 AM
10-06-2005 02:29 AM
Re: apache -- Virtual Diretory as in IIS -- plz help
Millions of Thanks Thomas Callahan .
Regards
Maaz