rewrite engine shows text instead of executes script

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

To the best to my memory, the following .htaccess worked on linux, but
on OSX, the result is that the browser gives me the text of the
script, rather the output of the script.
FYI: The script is fully functional when requested via cgi-bin.

# .htaccess
RewriteEngine On
RewriteCond $1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./$1 [L,QSA]
# /.htaccess

the script is at the path
(internal search domain) and when requested provides the
output I expect.

The directory/folder contain is symlinked to 
my wwwroot directory.
When I point my browser to
The server gives me the text for the script rather than the output
I'm woefully underinformed when it comes to .htaccess and mode
rewrite, but it occurs to me that if this works on a linux box and
not the the OSX platform, some configuration is need for Apache?
What would that be?

tim at tee jay forty nine dot com or akwebsoft dot com

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> 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

[Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

Add to Google Powered by Linux