Dr Small
April 24th, 2008, 10:15 AM
I am trying to setup a VirtualHost to point to the sqwebmail cgi file, so when I access mail.domain.com, it takes me directly to the webmail, or cgi script.
Anyone know how to do this?
I have in my VirtualHost container, right now:
#Mail.mycroftserver.homelinux.org
<VirtualHost *:80>
ServerAdmin drsmall@mycroftserver.homelinux.org
DocumentRoot cgi-bin/sqwebmail
ServerName mail.mycroftserver.homelinux.org
</VirtualHost>
I have a symbolic link from /opt/lampp/cgi-bin/sqwebmail to /usr/lib/cgi-bin/sqwebmail and the permission on the latter are:
-rwxr-xr-x 1 root root 7432 2007-02-22 22:48 /usr/lib/cgi-bin/sqwebmail
Yet, when I access it in the browser (mail.domain.com), it says:
Forbidden
You don't have permission to access / on this server.
Can anyone tell me where I have made a mistake?
Dr Small
Anyone know how to do this?
I have in my VirtualHost container, right now:
#Mail.mycroftserver.homelinux.org
<VirtualHost *:80>
ServerAdmin drsmall@mycroftserver.homelinux.org
DocumentRoot cgi-bin/sqwebmail
ServerName mail.mycroftserver.homelinux.org
</VirtualHost>
I have a symbolic link from /opt/lampp/cgi-bin/sqwebmail to /usr/lib/cgi-bin/sqwebmail and the permission on the latter are:
-rwxr-xr-x 1 root root 7432 2007-02-22 22:48 /usr/lib/cgi-bin/sqwebmail
Yet, when I access it in the browser (mail.domain.com), it says:
Forbidden
You don't have permission to access / on this server.
Can anyone tell me where I have made a mistake?
Dr Small