Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Mod_perl returning perl scripts!

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
mod_perl vs. cgi, suid-perl (long) - hi, i'm in need of some help because i am a bit confused about some apache features i need or believe to need. actually, the problem is occuring to a friend of mine, he needs to execute scripts in a suid-user manner. a script in a /cgi-bin/ with 4755

perl scripts appear as text - Ive set up a virtual host which seems to work OK, except for links that are to scripts that generate pages. the script text is appearing rather than the generated page. The bit of the Directive *> .....

Perl scripts invoke the command prompt! - I have Apache 2 installed and When i go to my cgi-bin folder and try to open a .pl file it gives me the file download dialogue box and asks if i want to open it or save it. When i say open it it invoked the command prompt, executes the script..

CGI issue when returning to index.html - I have a slight issue with my website. Most of the pages are generated by Perl and they all function correctly apart from when someone logs off. When a user clicks the logoff button, the page just goes blank instead of loading (frame page..

using mod_perl - If I enable mod_perl in Apache, do I have to change the bang line (the magic number line) in each CGI script? Or does Apache recognize the substring perl and do some sort of magic?
Author Message
user2531

External


Since: Oct 25, 2003
Posts: 1



(Msg. 1) Posted: Sat Oct 25, 2003 3:26 pm
Post subject: Mod_perl returning perl scripts!
Archived from groups: alt>apache>configuration (more info?)

Hi,

I'm using Apache with Mod_Perl configured.
Perl scripts prepare wml cards to return to a request. This works fine if
requests come from mobile phones.
However, if I type the url into my web browser pointing to a perl script
then the script get sent back for saving!! I really don't want to lose my
stuff this way!
I have this in my conf file:-
Alias /perl/ "C:/Apache2/perl/
<Location /perl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
</Location>

What can I do to stop files with a *.pl mask being returned to a user?

All help appreciated!

Angela

 >> Stay informed about: Mod_perl returning perl scripts! 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]