HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by icedchai | Hacker News Reader
Parent
Full thread
icedchai
·
Put it in .htaccess. No restarts needed.
View on HN
127001brewer
·
That's correct - I was thinking of using an Apache VirtualHost file. (Isn't using the .htaccess file slower(?) than using the VirtualHost file?)
icedchai
·
It is slower, since .htaccess is parsed on every request. (However, it is probably faster than routing through PHP code.)
rdam
·
You can reload Apache without a restart (apache2/httpd graceful/reload depending on your distro).
Reply on news.ycombinator.com