durusmail: quixote-users: Configuring Apache rewrites
Configuring Apache rewrites
2003-02-13
2003-02-13
2003-02-18
2003-02-18
Configuring Apache rewrites
Andy Todd
2003-02-13
Hi all,

Apologies if this is a duplicate, I am having some problems with my email.

I'm having some problems configuring mod_rewrite as per the instructions in
the documentation. If I'm asking this question in the wrong forum please feel
free to let me know where I should go.

I have a vanilla installation of both Quixote and Apache on Debian. I have
also failed to get this working under Windows as well. If I use
http://127.0.0.1/cgi-bin/demo.cgi everything works well.

But, I've copied the instructions from the demo document and put the
following lines in my httpd.conf;

RewriteEngine on
RewriteRule ^/qdemo(/.^) /usr/lib/cgi-bin/demo.cgi

But I cannot get http://127.0.0.1/qdemo/ to work. I have turned rewrite
logging on and can confirm that the rule is being resolved correctly, but I
keep getting a 404 Not Found error in the browser and "File does not exist:
/usr/lib/cgi-bin/demo.cgi/" in the Apache error log.

Can anyone give me any pointers?

Thanks in advance,
Andy

reply