Htaccess File

ShioR/EVE-Character-Showroom/master/.htaccess

Options +FollowSymLinks
Options +MultiViews
Options -Indexes

RewriteEngine On
RewriteBase /

# Exclude certain directories
RewriteRule ^includes/.*$ - [PT]
RewriteRule ^settings/.*$ - [PT]
RewriteRule ^install/.*$ - [PT]
RewriteRule ^themes/.*$ - [PT]
RewriteRule ^cache/.*$ - [PT]
RewriteRule ^sigs/.*$ - [PT]
RewriteRule ^imgs/.*$ - [PT]

# Yo! Wassup dawg? Nifty stuff below, watch your step!
RewriteRule ^install.php install.php [L,NC,NS]
RewriteRule ^shipViewer shipViewer.php [L,NC,NS]
RewriteRule ^ship/([^/]+)/?$ shipViewer.php?id=$1 [L,NC,NS]
RewriteRule ^home skillsheet.php [L,NC,NS]
RewriteRule ^add skillsheet.php?show=addnew [L,NC,NS]
RewriteRule ^stats skillsheet.php?show=stats [L,NC,NS]
RewriteRule ^(?!skillsheet)([^/]+)/?$ skillsheet.php?name=$1 [L,NC,NS]
RewriteRule ^pilot/([^/]+)/?$ skillsheet.php?name=$1 [L,NC,NS]
RewriteRule ^([^/]+)/(.+)?$ skillsheet.php?name=$1&show=$2 [L,NC,NS]

# Set Directory index to skillsheet.php instead of index.php
DirectoryIndex skillsheet.php
Exit mobile version