Currently, I have the setup in my htaccess so that example.com/dept/noc goes to: example.com/index.php?dept=dept&n=noc using
RewriteEngine On
RewriteRule ^([A-Za-z]+)/([A-Za-z]+)$ index.php?dept=$1&n=$2 [QSA]
RewriteCond %{SERVER_PORT} 80
I have a folder called upload, how would I ensure that url rewriting is not in effect (an exception) for the /upload/ folder, since
example.com/upload/file.doc doesn't work?