Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

apache 1.3.20, mod_rewrite, php4

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  securing Apache with modules  
Author Message
user2376

External


Since: Jul 16, 2003
Posts: 1



(Msg. 1) Posted: Wed Jul 16, 2003 7:58 am
Post subject: apache 1.3.20, mod_rewrite, php4
Archived from groups: alt>apache>configuration, others (more info?)

Hi all,

just another mod_rewrite question i guess ... well here we go:

We have an application-server (with integrated web-server) running in
our intranet. Further we have an Linux box running with Apache 1.3.20
and PHP4 as our webserver both for intra and extranet use.

As the intranet web-server doesnt support PHP, but we would like to
use PHP anyways in some of the pages provided by the
application-server, we're looking for a solution doing this:

any request (including all data - post, cookie-data etc..) that comes
from a client (Mozilla, IE ...) e.g.
http://www.our.webserver.com/intranet/$1 should be "forwarded" to
http://our.intranet.server.com/$1.

the pages delivered by our.intranet.server.com should be passed back
through www.our.webserver.com out to the client. on the way through
www.our.webserver.com the apache should process any php-tags in the
page, so the client get's the dynamic output.

i hope you understand what i was trying to say, and you can help me.

thanx a lot in advance.

dominik

PS i tried this in the virtual-host definition of httpd.conf, but it
somehow doesn't work as desired.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule /intranet(.*) http://our.intranet.server.com$1
[T=application/x-httpd-php,P,NE,PT]
</IfModule>

 >> Stay informed about: apache 1.3.20, mod_rewrite, php4 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Is Apache redirecting? - I'm using a self compiled copy of Apache 1.3.27 with ApacheSSL 1.48, SunONE ASP 3.6.1 (ChiliASP), and the Frontpage extensions v5. I had a difficult time getting these modules all working together, especially the Frontpage extensions. I have several..

Apache Cluster - Hiya all... Looking for some good how-to's, docs on the proper way to build a website with clustered/load-balanced apache servers. There's a lot of info out there and I'm not sure if one is better than the other. Could anyone recommend "industry....

ssl apache password - Hi ,I've Configured ssl on apache creating my own X509 certificate . my question is that when i reinitiate server it asks me certificate's password . I want to reinitiate server with cron daemon but it not works cause of this password . Any ideas ?...

problem with apache - Hi I have installed apache with mysql and php and I have the follow problem: [Fri Jul 11 10:21:31 2003] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Fri Jul 11 10:21:31 2003] [crit]..

Proxy: can apache do this ? - Hi, I have an SuSE Linux box running apache 1.3.37, as supplied with SuSE. It is setup for both http and https, this works fine, and it is accessable to the internet in general. What I want to do it to have it act as a proxy re-director to enable me...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]