say I have a script upload files to domain.com/sub/1.jpg how could I allow a direct request to domain.com/1.jpg to work without redirecting?
Quick htaccess question
Collapse
X
-
Tags: None
-
this should work
Code:Options +FollowSymLinks RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule !^sub(/.*)?$ /sub%{REQUEST_URI} [QSA,L]Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

Totally Free Templates -
-
no problem, glad to helpSince 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

Totally Free TemplatesComment



Comment