Htaccess File

cyimking/CSE-360-Project-2014/master/version_2.1/code/.htaccess

REQUEST_FILENAME
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-s 
RewriteCond %{REQUEST_FILENAME} !-l 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^([^/]*).php$ /CSE_310/events.php?action=$1 [NC]

RewriteCond %{REQUEST_FILENAME} !-s 
RewriteCond %{REQUEST_FILENAME} !-l 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]*)$ /CSE_310/profile.php?id=$1 [L]
Exit mobile version