I recently followed the following guide
http://smesmith.de/download/Howtos/website-access-security-howto.html Ever since that, I have not been able to log on to the webmin server. At first, it seemed to be the certificate mismatch issue but I think I fixed that and now httpd seems to be starting ok but I still get refused connection in Epiphany browser and failed to connect errors in Firefox. I can log on via ssh though.
IMAP e-mail seems to work just fine internally and externally.
I have searched for several hours a few days ago and I that's when I regenerated the ssl keys to get httpd to actually start. I had a few more pages with potential fixes but can't seem to find them again.
The latest error_log in /var/log/httpd doesn't have anything listed since the 17th (have rebooted several times today) so I'm assuming there are no general httpd errors.
The admin error log shows the following
[Tue May 20 10:31:26 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue May 20 10:31:26 2008] [notice] Digest: generating secret for digest authentication ...
[Tue May 20 10:31:26 2008] [notice] Digest: done
[Tue May 20 10:31:27 2008] [notice] Apache configured -- resuming normal operations
[Tue May 20 10:39:43 2008] [notice] caught SIGTERM, shutting down
[Tue May 20 10:41:22 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue May 20 10:41:23 2008] [notice] Digest: generating secret for digest authentication ...
[Tue May 20 10:41:23 2008] [notice] Digest: done
[Tue May 20 10:41:25 2008] [notice] Apache configured -- resuming normal operations
The latest admin access log is empty as is the access log.
This is what appears to me to be relevant in the httpd.conf but I am far from an expert so let me know if you need more.
# skipping SSL directives
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
RewriteRule ^/server-manager(/.*|$) https://%{HTTP_HOST}/server-manager$1 [L,R]
<Location /server-manager>
order deny,allow
deny from all
allow from 127.0.0.1 192.168.1.0/255.255.255.0
</Location>
RewriteRule ^/server-common(/.*|$) https://%{HTTP_HOST}/server-common$1 [L,R]
<Location /server-common>
order deny,allow
deny from all
allow from 127.0.0.1 192.168.1.0/255.255.255.0
</Location>
RewriteRule ^/user-password(/.*|$) https://%{HTTP_HOST}/user-password$1 [L,R]
<Location /user-password>
order deny,allow
deny from all
allow from 127.0.0.1 192.168.1.0/255.255.255.0
</Location>
Any ideas or links would be greatly appreciated.
If I wanted to remove what I did from the link at the beginning of this post, how would I go about doing that? From my limited understanding, I cannot simply edit the httpd.conf. Do I have to generate from a template or something?
On a side note, I'm a windows convert and apache is a bit tedious compared to IIS. I was wondering if anybody created a webmin applet for configuring apache? I haven't done any searches yet because I've gotta get the webmin up and running first but any ideas would be very cool.