What is the effect of the following lines do:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
What about these flags:
[L,QSA]
.htaccess
Started by Googolplex, Sep 01 2004 03:20 PM
1 reply to this topic
#1
Posted 01 September 2004 - 03:20 PM
#2 Guest_Alex_*
Posted 01 September 2004 - 04:11 PM
RewriteCond %{REQUEST_FILENAME} !-f
- this checks to see if there is a file with the specified name.
RewriteCond %{REQUEST_FILENAME} !-d
- this checks to see if there is a directory with the specified name.
[L,QSA]
L - can't remember, check the documentation at httpd.apache.org.
QSA - Query String Append: makes sure any parameters passed in the URL are available in the script.
- this checks to see if there is a file with the specified name.
RewriteCond %{REQUEST_FILENAME} !-d
- this checks to see if there is a directory with the specified name.
[L,QSA]
L - can't remember, check the documentation at httpd.apache.org.
QSA - Query String Append: makes sure any parameters passed in the URL are available in the script.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users










