Page 3 of 3

PostPosted: 20. March 2008 12:46
by Joe_Austin
Yes , I read that post , and it sounds like it would work for the shebang issue.

The issue that requires the script alias is the simple issue of calling the script from any .html page. On my remote server the scripts are contained in /cgi-bin/ in the site folder. On xampp the cgi-bin is under the server folder and would require a different reference. One that I would have to change before uploading. So even under /htdocs I would need the script alias, or have to change my script calls on the remote server for each page that has one.

PostPosted: 20. March 2008 12:56
by Milligan

PostPosted: 20. March 2008 14:57
by Joe_Austin
Well, I moved the site to /htdocs , and without making any changes the site loaded (as expected) and my formmail script began to execute from the sites own /cgi-bin/.

This is a change from the old (1.5) installation that would try to download the .cgi rather than execute it. I guess they made a change to the default configuration. Anyway no script alias seems necessary so that's a relief.

The script would generate a server-500 error until I made the change to the shebang line and the path to the sendmail app.

I may try suggestion about moving perl.exe to a folder that mimics my remote hosts folder structure and matching the shebang line to that so I won't have to change it on each upload. I suppose that would also work for the sendmail.exe?

Sure would like to know why alias won't work though........

PostPosted: 20. March 2008 15:14
by Milligan

PostPosted: 20. March 2008 15:41
by Joe_Austin
Hmmm, those are curious.

I was using Microsoft Word and saving as a text file, and have since switched to UltraEdit.

Those quotes are post installation update so they did not come from a cut and paste.

I'll try recreating the alias reference with normal quotes.

PostPosted: 20. March 2008 15:46
by Milligan

PostPosted: 20. March 2008 21:46
by Joe_Austin
I fixed the funny quotes and now the alias and script alias both work.

If you'll exuse me I have to go fix a hole in a wall and put a bandage on my head.

I can't believe it didn't generate an error of some sort. Once, when I left a space between a quote and a drive letter, Apache wouldn't even start.

Milligan, I owe you a drink.

PostPosted: 21. March 2008 00:50
by Milligan

PostPosted: 21. March 2008 02:08
by Joe_Austin
Will do.