← Back to team overview

sslug-teknik team mailing list archive

Re: squirrelmail og Apache2

 

On Sun, 1 Jul 2007 12:05:38 -0700
"Hans Ole" <hoh@xxxxxxxxxxx> wrote:

> Jeg har
> MyServer:/etc/apache2/sites-available# ls
> dbj-firstdomain.com  mail.seconddomain.dk  seconddomain.dk
> 
> I mail.seconddomain.dk  står der
> 
> <VirtualHost *>
>   ServerName mail.seconddomain.dk
>   DocumentRoot /usr/share/squirrelmail
> 
>   Alias /squirrelmail /usr/share/squirrelmail
> 
> <Directory /usr/share/squirrelmail>
>   Options Indexes FollowSymLinks
>   <IfModule mod_php4.c>
>     php_flag register_globals off
>   </IfModule>
>   <IfModule mod_php5.c>
>     php_flag register_globals off
>   </IfModule>
>  <IfModule mod_dir.c>
>     DirectoryIndex index.php
>   </IfModule>
> 
>   <Files configtest.php>
>     order deny,allow
>     deny from all
>     allow from 127.0.0.1
>   </Files>
> </Directory>
> 
> </VirtualHost>
> 
> 
> Alligevel giver min browser error 403, når jeg prøver
> http://mail.seconddomain.dk eller
> http://mail.seconddomain.dk/squirrelmail Hvad kan der være galt?
> 

Er dine filer læsbare fra din webserver daemon?
Har du opsat apache til at lade brugere se filerne i din squirrelmail
setup?

Noget i stil med dette i enten din httpd konfigurationsfil ved start,
eller i din htaccess fil (dvs. runtime). Hvis det er runtime skal du
huske at tillade ændringer i access rights ændringer i din httpd conf
fil.
 
	<Directory "/usr/share/squirrelmail">
		Order allow, deny
		Allow from all
	</Directory>


Mvh
Jesper K. Pedersen


Follow ups

References