Rewriting SSI URLs

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

 



Is anyone aware of a method of rewriting a URL within a Server Side Include (SSI)?

So for example,
<!--#include virtual="/abc/test.cgi"-->
I would like the web server to actually run the following
/abc/def/test.cgi

Changing <!--#include virtual="/abc/test.cgi"--> is not a reasonable solution for me.

I understand that with SSIs the requests are all pre-output to the client so the client does not make these requests, but I thought relevant mod_rewrite directives particularly within the httpd.conf file would be respected for an SSI but that does not seem to be the case. Googling for advice on this presents almost zero relevant results except one indicating that rewriting an SSI is not possible, so perhaps that is the definitive answer.

Thank you.
Jim Albert


---------------------------------------------------------------------
To unsubscribe, e-mail: users-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