Hello,
I'm trying to setup something, I believe mod_rewrite will work and wanted to
know if anyone could help.
What i want to do is the following
http://www.domain.com/XXXXXYYYYYYY
doesn't exist (where X is a letter and Y is some number), what I want to do
is invoke a cgi script to generate this page on the fly. The only problem
is I don't want to have to setup a bunch of redirects (mainly because there
are over 20,000 valid combinations [yes more if you work it out
mathmatically, but i did say valid])
I have the following in my srm.conf
LoadModule rewrite_module libexec/mod_rewrite.so
RewriteEngine on
RewriteLogLevel 9
RewriteLog rewrite_logfile
RewriteRule ABCDE(.*) http://www.domain.com/cgi-bin/myscript?info=ABCDE$1
and this works....sort of....
on my test server (that does not virtual hosting) it works GREAT.
on one of the live servers everytime i try to put it in httpd.conf, srm.conf
etc it either crashes the server when I restart OR it only works when i use
192.168.4.1 and not www.domain.com
any ideas?
pac
--
In February I got a check for $39.86 for just my normal surfing! Click here
if you want to get paid to surf the web
http://www.alladvantage.com/home.asp?refid=ATA-568
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]