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 Rewrite Rules

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache - Alias  
Author Message
handley

External


Since: Sep 01, 2003
Posts: 1



(Msg. 1) Posted: Mon Sep 01, 2003 5:33 pm
Post subject: Apache Rewrite Rules
Archived from groups: alt>apache>configuration (more info?)

Hello,
I have compiled mod_rewrite and mod_proxy into my apache 1.3.x
server and are trying to rewrite any requests that come into the
server for files in my cgi-bin/ directory to another apache server
running on port 8080. I have tried these two rules but they are not
working. Can anyone tell me what is wrong with this rule?

RewriteRule ^(.*\/cgi-bin\/.*)$ http://%{HTTP_HOST}:8080$1 [P]
RewriteRule ^/cgi-bin(.*) http://www.domain.com:8080/cgi-bin$1 [R]

Thanks
MH

 >> Stay informed about: Apache Rewrite Rules 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
ReWrite Rules - Hi, Currently my homepage is http://www.indigoclothing.com/index.shtml However I would now want my homeapge to be: http://www.indigoclothing.com/cgi-bin/page.cgi?d=1&page=homepage The dynamic page is different from the static one as the featured...

Combining two rewrite rules - stuck :| - Hello I'm trying to combine: RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://poff\.sixbit\.org.*$ [NC] RewriteCond %{REQUEST_FILENAME} .*\.(jpg|gif|png|jpeg)$ RewriteRule \.(jpg|gif|png|jpeg)$..

Apache 2 + mod_rewrite: rewrite not enabled? - Hello, I am using Apache 2.0.43 (Win32) + PHP 4.3.0 with virtual hosts. Works fine. As a newbie to mod_rewrite, I found tons of examples on how to write the patterns + conditions but not that much on actually *enabling* mod_rewrite. I have uncommented...

Apache URL rewrite peculiar case - Hi All, I have a generic website name eg: main.example.com. This website due to load balancing points to server server1.example.com. Now, server1.example.com processes the request and gives the output. The output is of form..

Mod Rewrite help - I've got 10,000+ files in a folder http://www.myseite.com/acrhives/ i.e. .../archives/2000/12/, .../archives/2000/11/, .../archives/2000/10/ ... Several years, many months of html mhonarc-archived docs. We have so many files in this one folder, I've..
   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 ]