Category Archives: Apache

Post related to Apache

setting virutal host on wamp apache codigniter

<VirtualHost *:80>     ServerAdmin rahul@localhost     ServerName mysite.lo     DocumentRoot “C:/wamp1/www/ci/CodeIgniter_2.1.3” <Directory “C:/wamp1/www/ci/CodeIgniter_2.1.3”>         Options Indexes FollowSymLinks Includes ExecCGI         AllowOverride All         Order allow,deny         Allow from all     </Directory> </VirtualHost> Ref:

Posted in Apache | Leave a comment

apache

Apache Enable ReWrite a2enmod rewrite install wsgi apt-get install libapache2-mod-wsgi http://code.google.com/p/modwsgi/wiki/InstallationOnLinux http://packages.debian.org/unstable/python/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 … Continue reading

Posted in Apache | Leave a comment

How to enable mod_rewrite in apache

how to check which modules are loaded in apache apachectl -t -D DUMP_MODULES Ref : http://adminuser.wordpress.com/2008/06/12/list-all-the-loaded-modules-apache/ how to enable mod_rewrite in apache2 cd /etc/apache2/mods-enabled touch rewrite.load gedit rewrite.load (you may use any editor to edit this file) now paste this … Continue reading

Posted in Apache | Leave a comment

for accessing index.php in apache in browser

and now i access the index.php file in browser it open the download /save window of browser . how i make the default add these  in apache.conf AddType application/x-httpd-php .php .htm .html <IfModule mod_dir.c> DirectoryIndex index.php index.htm index.html </IfModule> to … Continue reading

Posted in Apache | Leave a comment