Re: simple rewrite rule

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

 



On 2/2/07, arry@xxxxxxxxxxxxxxx <arry@xxxxxxxxxxxxxxx> wrote:
Hi,

I would like to have a path like /go/ after which the address to be proxied.
This is the config:

<Location /go/ >

   SSLCipherSuite MEDIUM
   SSLRequireSSL

    AuthType Digest
    AuthName "Restricted Area"
    AuthDigestDomain /go/
    AuthDigestProvider file
    AuthUserFile /var/www/.digestpwd
    Require valid-user

   RewriteEngine on
   RewriteRule ^(.*)  http://$1  [P,L]

RewriteRule ^/go/(.*) http://SERVER_NAME_SHOULD_BE_HERE/$1 [P,L]

What is the reason top put SSL options in Location tag?

</Location>


but the rewrite rule does not work.
I get an error /go/yahoo.com not found on this server.

I would like when i type /myserver/go/yahoo.com to be connected to
yahoo.com through myserver.

thanks


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



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