Apache Reference

Apache Restart Apache webserver

The exact location of this command may vary (depending on your OS) but is typically found in /usr/sbin/

mod_rewrite enable mod_rewrite on apache2

to enable any module you can use the a2enmod command. To enable mod rewrite use the following:

.htaccess Quick password protection

.htaccess file:

mod_rewrite Single entry point for dynamic calls

Redirect all calls to dynamic content to index.php. Requests for static files are simply served as static files

Save the following in a .htaccess and save in root:

[x]