clean urls

conf apache

  1. #
  2. # Based upon the NCSA server configuration files originally by Rob McCool.
  3. #
  4. # This is the main Apache server configuration file.  It contains the

que dice linux

  1. oskar@Oskar:~$ sudo su
  2. root@Oskar:/home/oskar# /etc/init.d/apache2 restart

clean urls : apache setting

  1. <Directory /var/www/example.com>
  2.    RewriteEngine on
  3.    RewriteBase /
  4.    RewriteCond %{REQUEST_FILENAME} !-f
  5.    RewriteCond %{REQUEST_FILENAME} !-d
  6.    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Syndicate content