View previous topic :: View next topic |
Author |
Message |
jabster42 n00b


Joined: 04 Feb 2005 Posts: 31 Location: Chicago, IL USA
|
Posted: Tue Sep 27, 2005 5:06 pm Post subject: [SOLVED]No SSL squirrelmail after Apache upgrade |
|
|
hi.
I just emerged apache (2.0.54-r31), and am having trouble accessing webmail (squirrelmail). I have always been running apache2, this is just an upgrade (ie: this is not an upgrade from apache1). Everything was working fine prior to this most recent apache upgrade.
I've already searched the forums and found this:
https://forums.gentoo.org/viewtopic-t-382793-highlight-invalid+method+request+apache.html
which at least got apache-ssl running. (I was getting the "Invalid method in request" error messages.)
Now tho, I am getting this message in my web browser when I try to access https://mailbox/webmail/: Code: | You don't have permission to access /webmail/ on this server. |
webmail is a symlink to squirrelmail (/var/www/localhost/htdocs/webmail). I have changed the ownership of squirrelmail to apache "chmod -R squirrelmail).
While trying to get SSL working (didn't realize it was only ssl at first), I eventually ended up deleting all the apache2 config files (in /etc/conf.d/, /etc/apache2, /etc/init.d/), and uninstalling apache. So I then emerged apache again, and modified /etc/conf.d/apache2 to "APACHE2_OPTS="-D DEFAULT_VHOST -D SSL_DEFAULT_VHOST -D SSL -D PHP4"".
Started apache, and now I can get to "http://mailbox/", and I get the apache is configured screen, which is good.
Any ideas what else I can do here to get squirrelmail access up?
(Also, on a possibly related note: "http://mailbox/phpmyadmin/" gives a directory listing. But I don't know if it ever worked correctly, as I don't use phpmyadmin on this machine.)
thanks,
john
Last edited by jabster42 on Wed Sep 28, 2005 2:33 pm; edited 1 time in total |
|
Back to top |
|
 |
jabster42 n00b


Joined: 04 Feb 2005 Posts: 31 Location: Chicago, IL USA
|
Posted: Tue Sep 27, 2005 6:26 pm Post subject: |
|
|
i've added the following lines to my httpd.conf file after looking at the gentoo wiki.
Code: | LoadModule php4_module extramodules/libphp4.so
<IfModule mod_mime.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
</IfModule>
|
Firefox still asks me where to save the info.php file.
-john |
|
Back to top |
|
 |
jabster42 n00b


Joined: 04 Feb 2005 Posts: 31 Location: Chicago, IL USA
|
Posted: Wed Sep 28, 2005 2:32 pm Post subject: |
|
|
Ok. Nevermind.
turns out I had to emerge the latest mod_php as well after my apache upgrade. I think everything is working now.
-john |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|