Andrew Posted January 6, 2004 Posted January 6, 2004 I'm setting up a new domain for a friend, and I'd like her to be able to check her Web-based mail (preferably SquirrelMail) via a subdomain --http://mymail.juliecalkins.com -- rather than the long, full path. When I set up the mymail subdomain and point it to, say, https://www.juliecalkins.com:2096/3rdparty/...lmail/index.php (or *any* page), all I get is that "Index of /" page with links to the parent directory and cgi-bin. Why can't I get it to redirect. I tried pointing it to a variety of places, and even tried other subdomains (test.juliecalkins.com), but no luck. I'm sure it's something simple and stupid, but can't figure it out. Help! Quote
Deverill Posted January 6, 2004 Posted January 6, 2004 I'm not where I can do much research on it, but have you tried: mymail.juliecalkins.com/sqmail yet? That should jump to the right place for you. Without the sqmail ending it is trying to go to a website that is at the subdomain and you don't have one, apparently. Quote
Deverill Posted January 6, 2004 Posted January 6, 2004 I just reread your original post and what I suggested won't work. I misunderstood what you were trying to do. I think the way I would attack this is to create a page at ******/mail.html that is a regular web page with a redirect to ******/sqmail and then all she has to do is go to ******/mail and click the link and log in. There may be a better way with redirects but if nothing better comes along this should work. Quote
TCH-Don Posted January 6, 2004 Posted January 6, 2004 You might look at the help site How to embed a SquirrelMail login within your web page for an easy way to use Squirrel Mail with your own login page Quote
DarqFlare Posted January 6, 2004 Posted January 6, 2004 The help page that TCH has up has a problem on it. The address for SquirrelMail in the action="" part of the form should be: http://your.domain.ext/sqmail/src/redirect.php Are there any known problems with using /sqmail/ instead of going through /webmail/? Quote
beerman Posted January 24, 2004 Posted January 24, 2004 I can't seem to get this embedding thing to work - I keep getting "page not found error"? Suggestions.... Here is my code as suggested.... <head> <script language="JavaScript" type="text/javascript"> <!-- function squirrelmail_loginpage_onload() { document.forms[0].js_autodetect_results.value = '1'; } // --> </script> </head> <form method="post" action="http://www.safefresh.com/sqmail/src/redirect.php"> <input type="hidden" name="js_autodetect_results" value="0"> User: <input type="text" name="login_username" size="10"> Password: <input type="password" name="secretkey" size="10"> <input type="submit" value="Login"> </form> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.