Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.pl CGI Scripts & IE File Save Dialog

Status
Not open for further replies.

anandxk

Programmer
Aug 14, 2002
9
US
'lo folks. This has probably been asked before but I haven't found a complete explanation yet.

Running:
Win2K Pro SP3
Apache 1.3.26
ActivePerl 5.6.1

IE shows a File Save dialog when the CGI script has:
Content-type: text/plain
and the extension is .pl.
eg.
The unusual part is that the following URL :
does return the Environment Variables. Why does adding the / make a difference?

Thanks in advance.
 
Should this have been posted elsewhere? Anyone?

Regards.
 
Hi the problem is apache configuration.

Open httpd.conf and look at your directory containers. If they look like this:

<Directory &quot;/path/to/dir/&quot;>

Then get rid of the trailing slash. When you have a trailing slash, you force the use of it in the url.

This is really a question for the Apache Group [pipe]

Kind Regards, Paul Benn

**** Never Giveup, keep trying, the answer is out there!!! ****
 
No luck. The Directory containers had no trailing slashes.

I'll try the Apache forum.

Thanks Paul.
 
have you tried putting the trailing slash ?
Kind Regards, Paul Benn

**** Never Giveup, keep trying, the answer is out there!!! ****
 
Yupz. Tried a number of different combinations. Nothing yet. When I find the answer, I'll post it here for sure. Thanks for the help.
 
Found some answers:

thread65-353880

Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top