Re: [users@httpd] Getting mod_rewrite working for virtual hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Boysenberry Payne wrote:
<VirtualHost *:80>

    RewriteEngine on
    RewriteOptions inherit
    RewriteRule  ^(.*)log[/]?$ http://69.72.241.170:81/pro/admin.pl [P]
RewriteRule ^(.*)log/(.*)$ http://69.72.241.170:81/pro/admin.pl?data=$2 [P]

</VirtualHost>

Neither of them works so far.  What am I missing?

And what exactly did you request and what was the response from the server (status code)? Also: What is logged in your RewriteLog (needs to be enabled first with

RewriteLog logs/rewrite.log
Rewriteloglevel 5

Did you restart apache? Anything in your error.log?

--
Robert

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux