jonzielen/zielenkievicz/master/.htaccess - Htaccess File

jonzielen/zielenkievicz/master/.htaccess

# Use PHP54 as default
AddHandler application/x-httpd-php54 .php
AuthUserFile "/home1/zielenki/.htpasswds/public_html/passwd"

RewriteEngine on
# internal rewrite - every request goes to /zielenkievicz/public/
#RewriteCond %{HTTP_HOST} !^tickets.zielenkievicz.com
#RewriteRule ^(.*)$ /zielenkievicz/public/$1 [NC]

# Exclude any subdomain:
RewriteCond %{HTTP_HOST} !^(.*).(.*). [NC]
# redirect
RewriteRule ^(.*)$ /zielenkievicz/public/$1 [NC]

# additional redirects
Redirect 301 /r http://zielenkievicz.com/doc/Jonathan-Zielenkievicz-Resume.pdf

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache