Re: Can you go outside the .htaccess directory with Rewrite Rule?

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

 



[SOLVED]

Thank you everyone for the ideas!

When I checked the error logs,
Apache was reinserting the base of the .htaccess directory's URI.
So my "/cgi-bin/script" became /~me/public_html/cgi-bin/script (/~me/
public_html/ is the .htaccess directory + /cgi-bin/script, the
directory I specified).

It seems that you can't go outside the web root with RewriteRule, so I
put a symbolic link to the script in the directory with the .htaccess
file.  So Rewrite -> link in same directory -> script outside web root

If anyone wants the details, I posted them for your use: http://seandenigris.com/?p=6

p.s. I played with [PT], but couldn't get it to work

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