Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Apache Proxy Results In Forbidden Error, Apache Proxy results in forbidden error
ptbuddha
post Jul 8 2004, 11:32 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 8-July 04
Member No.: 3,307



I am attempting to redirect http requests from an external server (internet connected) to an internal server (not accessible from the internet.

in httpd.conf I have the following;

<VirtualHost *>
DocumentRoot /var/www/web
ServerAdmin root
DirectoryIndex index.html index.php index.htm index.shtml
ProxyRequests on
ProxyPass /test http://10.0.0.202
ProxyPassReverse /test http://10.0.0.202
</VirtualHost>

I have placed a file named index.htm in /var/www/web.
This file contains the text "you are in /var/www/web".

If I enter http://www.domain.com into an external browser I get "you are in /var/www/web" displayed.

If I enter http://10.0.0.202 into an internal browser I get the web site I expect to see.

If I enter http://www.domain.com/test into an external browser I get
"Error 403 forbidden You are not authorized to view this page"

Can anyone please tell me where the error is?
Go to the top of the page
 
+Quote Post
hughesjr
post Jul 9 2004, 06:29 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Take a look at this article ... make sure you are loading all the right modules in the config file.

try putting a / after test in your url so it looks like:

http://www.domain.com/test/

If that works ... the article tells you haw to also make http://www.domain.com/test work...


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 11:17 PM