View Single Post
  #6  
Old 9th March 2013, 20:04
higgins_gee higgins_gee is offline
Junior Member
 
Join Date: Mar 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Squirrelmail conf I've not added the aliases as yet but i will be doing that after. Unable to restart apache to confirm if mod_php is enabled.

<Directory "/srv/www/htdocs/squirrelmail">
php_admin_flag register_globals Off
php_admin_flag magic_quotes_gpc Off
php_admin_flag allow_url_include Off
php_admin_flag allow_url_fopen Off
php_admin_flag session.use_only_cookies On
php_admin_flag session.cookie_httponly On
php_admin_value open_basedir "/srv/www/htdocs/squirrelmail:/var/lib/squirrelmail:/usr/share/php5/PEAR:/tmp"
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/class">
Order deny,allow
Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/config">
Order deny,allow
Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/data">
Order deny,allow
Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/doc">
Order Deny,Allow
Deny from All
Allow from 127.0.0.0/8
Allow from ::1/128
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/functions">
Order deny,allow
Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/help">
Order deny,allow
Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/include">
Order deny,allow
Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/locale">
Order deny,allow
Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/po">
Order deny,allow
Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/themes">
Order deny,allow
Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/themes/css">
Order deny,allow
Allow from all
</Directory>
Reply With Quote