Enable ReWrite

a2enmod rewrite

install wsgi

apt-get install libapache2-mod-wsgi


permission denied errro

solved by moving django folder to some user from root folder
i think it can be also solved by assigning sudo to www-data

Rewrite rule


  1. RewriteEngine on <br>
  2. RewriteRule ^/?test\.html$ test.php [L]



About rahul23134654

Hi, I am Rahul Meha , B.E. in (I.T.)
This entry was posted in Apache. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s