User Tools

Site Tools


note

# This will direct the request to a different directory # depending on the hostname used to access the site: # If the request is for http://example.com/foo/bar, # then %1 would contain example.com and $1 would contain foo/bar. # See https://httpd.apache.org/docs/current/rewrite/intro.html #RewriteCond “%{HTTP_HOST}” “(.*)” #RewriteRule “^/(.*)” “/sites/%1/$1”

RewriteCond “%{HTTP_HOST}” “www.ildis.org” RewriteRule “^/(.*)” “/ildis/$1”

note.txt · Last modified: by Richard White

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki