Jump to content


.htaccess


  • You cannot reply to this topic
1 reply to this topic

#1 Googolplex

    Etomite Forum Newbie

  • Member
  • 31 posts

Posted 01 September 2004 - 03:20 PM

What is the effect of the following lines do:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

What about these flags:

[L,QSA]

#2 Guest_Alex_*

  • Guests

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users