Graverober Posted May 19, 2004 Posted May 19, 2004 OK, sorry if this is on here somewhere else and I can't find it but.... I'm trying to make a page (for on my site) to log into Squirl mail web interface. I want to automaticaly add the +YourDomanName.com for the users and then take them into the squirl mail interface. Now that is the ultimate plan, right now I would be happy with just haveing a 'web page' where they could log in from (my parents don't now what to do when the authintication window launches, so they kill it no matter what I tell them!!). I have the following code I swiped from the FAQ's (http://www.totalchoicehosting.com/help/id98.htm), but it's not working like it should. It dosen't open the squirl web interface, it gives me a 'Page can't be found'. Is there a step missing??.....HELP!!!!!! What am I being brain dead and not seeing? Thanks! <HTML> <head> <script language="JavaScript" type="text/javascript"> <!-- function squirrelmail_loginpage_onload() { document.forms[0].js_autodetect_results.value = '1'; } // --> </script> </head> <BODY> <form method="post" action="http://charles-mckinley.com/mail/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> </BODY> </HTML> Quote
DarqFlare Posted May 19, 2004 Posted May 19, 2004 (edited) ><form method="post" action="http://charles-mckinley.com/mail/src/redirect.php"> Needs to be ><form method="post" action="http://charles-mckinley.com/sqmail/src/redirect.php"> sqmail/ not mail/ Edited May 19, 2004 by TCH-Robert Quote
Graverober Posted May 19, 2004 Author Posted May 19, 2004 Cool Beans!!! It works now!!!!! Thanks. Um, maby someone might want to update that FAQ page with the right syntax..... http://www.totalchoicehosting.com/help/id98.htm Thanks again!!!! Quote
xyth Posted May 19, 2004 Posted May 19, 2004 This almost works, but I don't seem to have the sqmail directory or file needed in this line. <form method="post" action="http://xyth.com/sqmail/src/redirect.php"> Is that something installed on account creation or after using mail the first time? If so, I have done both and no such directory exists. Ideas? Quote
TCH-Dick Posted May 19, 2004 Posted May 19, 2004 This almost works, but I don't seem to have the sqmail directory or file needed in this line. I can access that directory with no problem. Can you post the complete code you are using? Quote
xyth Posted May 19, 2004 Posted May 19, 2004 I had a missing tag, and fixing that solved it. What was puzzling was I can't "see" that directory in the Cpanel file manager. It has to be there since i can call the file. Is this a permissions issue on the root? Quote
TCH-Don Posted May 20, 2004 Posted May 20, 2004 No, like your cgi-bin it is a link to a folder on the server, so you can't see the files. Quote
DarqFlare Posted May 20, 2004 Posted May 20, 2004 I forgot what that's called... Virtual directory?? Is that right, Mike/MikeJ/Bill? Quote
TCH-Don Posted May 20, 2004 Posted May 20, 2004 I think it is called a symbolic link, it gives the illusion that the page requested contains the information that appears in the browser window, but it actually points to another file on your system where the information is really located. Quote
MikeJ Posted May 20, 2004 Posted May 20, 2004 To be accurate since it's being asked... /sqmail is an "alias" to where sqmail is actually located. This alias is configured in the web server software (apache). The real sqmail directory is in a central place on the server. A symbolic link is the term used for when a file is created on the file system that points to another file or directory (same concept as "shortcuts" in Windows). Both accomplish the same thing in this particular type of case. The primary difference is that the alias is translated at the application level (web server) before any attempt to access the filesystem is made and the symbolic link is translated at the file system level. Symbolic links you would see. "www" is a symbolic link to "public_html" in your home directory, for example. Go into either and you end up in the same place. 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.
× Pasted as rich text. Paste as plain text instead
Only 75 emoji are allowed.
× Your link has been automatically embedded. Display as a link instead
× Your previous content has been restored. Clear editor
× You cannot paste images directly. Upload or insert images from URL.