Problems getting Squirrelmail and passenger working on apache
Posted
by
Kenneth
on Server Fault
See other posts from Server Fault
or by Kenneth
Published on 2012-08-29T20:49:38Z
Indexed on
2012/08/29
21:40 UTC
Read the original article
Hit count: 381
I'm trying to have a setup where I want to run a squirrelmail and Passenger on the same apache server, having a url point to squirrelmail and everything else handled by passenger. I've gotten so far that both squirrelmail and passenger will run fine by themselves but when passenger is running it handles all urls.
So far I've tried using Alias and Redirect to point a webmail/ url to squirrelmails directory but that does not work.
Here is my httpd.conf file:
<VirtualHost *:80>
ServerName not.my.real.server.name
DocumentRoot /var/www/sinatra/public
# Does not work:
#Redirect webmail/ /usr/share/squirrelmail/
#<Directory /usr/share/squirrelmail>
# Require all granted
#</Directory>
<Directory /var/www/sinatra/public>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
© Server Fault or respective owner