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

index.pl weirdness

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
the index.htm won't autoload - Hi, I'm very new at running apache, so this should be a very easy question for most of you. When I connect to my site, it doesn't load the file. It opens its own index that displays the contents of the files in the What setting in..

Index of /files/ - When I put some files in a directory /files/ for download and include no HTML file the client who surfs to gets to see a view' with download links. Below the links it also lists the Apache and PHP versions active. Index..

[2.0.48] About index.html.var and index.html - ( I use Apache 2.0.48 on XP Prof) Under Apache 1.x I simply dumped my html files in the webroot folder and 'it' worked. I am to get my simple .HTML website running under 2.x I see some things have changed in the conf files. I..

index.pl not loading - Hi all! I do have a problem that my is not loading properly. Example of my problem: Let's say i do have a portal at: When i enter that URL in the browser the portal loads just fine. When i..

Directories with no index file - I've just set up a small web site served by Apache 1.3.29 and I have a little concern about it : I have one directory called where I put pictures non HTML stuff). There is no index file in this As a..
Author Message
colinb

External


Since: Jul 12, 2004
Posts: 4



(Msg. 1) Posted: Mon Jul 12, 2004 2:02 pm
Post subject: index.pl weirdness
Archived from groups: alt>apache>configuration (more info?)

The cgi-bin directory has many perl files in it. All execute except
index.pl which produces the browser Save As dialog. The content of the
file saved is index.pl (not something else).

However, if I rename the file to something other than index.pl (e.g.
index1.pl), it executes as it should.

Please help as this is driving me potty!

Thanks
Colin


httpd.conf looks like this:

Alias /cgi-bin/ "/home/newbusiness/www/cgi-bin/"
<Location /cgi-bin>
SetHandler perl-script
PerlSetupEnv On
Options +ExecCGI
PerlAuthenHandler Authenticate
AuthName Visitors
AuthType Cookie
Require valid-user
PerlAuthzHandler Authorise
PerlHandler Apache::Registry
</Location>

 >> Stay informed about: index.pl weirdness 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Mon Jul 12, 2004 2:12 pm
Post subject: Re: index.pl weirdness [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Colin JN Breame <colinb.TakeThisOut@chameleonnet.co.uk> wrote:
 > The cgi-bin directory has many perl files in it.
 > Alias /cgi-bin/ "/home/newbusiness/www/cgi-bin/"

And what if you use ScriptAlias instead of simply 'Alias'?

Davide

--
| Matter cannot be created or destroyed, nor can it be returned without
| a receipt.
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: index.pl weirdness 
Back to top
Login to vote
colinb

External


Since: Jul 12, 2004
Posts: 4



(Msg. 3) Posted: Mon Jul 12, 2004 2:56 pm
Post subject: Re: index.pl weirdness [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi wrote:
 > Colin JN Breame <colinb RemoveThis @chameleonnet.co.uk> wrote:
 >
  >>The cgi-bin directory has many perl files in it.
  >>Alias /cgi-bin/ "/home/newbusiness/www/cgi-bin/"
 >
 >
 > And what if you use ScriptAlias instead of simply 'Alias'?
 >
 > Davide
 >

Thanks for your response.

I've tred replacing the Alias with ScriptAlias but it functions as before.

Colin<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: index.pl weirdness 
Back to top
Login to vote
user387

External


Since: Feb 13, 2004
Posts: 1055



(Msg. 4) Posted: Mon Jul 12, 2004 2:59 pm
Post subject: Re: index.pl weirdness [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Colin JN Breame wrote:

 > Davide Bianchi wrote:
  >> Colin JN Breame <colinb DeleteThis @chameleonnet.co.uk> wrote:
  >>
   >>>The cgi-bin directory has many perl files in it.
   >>>Alias /cgi-bin/ "/home/newbusiness/www/cgi-bin/"
  >>
  >>
  >> And what if you use ScriptAlias instead of simply 'Alias'?
  >>
  >> Davide
  >>
 >
 > Thanks for your response.
 >
 > I've tred replacing the Alias with ScriptAlias but it
 > functions as before.

I'm a newbie when it comes to httpd.conf docs, but as you were
saying index1.pl works while index.pl doesn't: don't you have a
wildcard somewhere for any index file to be the automatic file
to display in a directory? (usually index.php index.html etc)

--
Els
<a style='text-decoration: underline;' href="http://locusmeus.com/" target="_blank">http://locusmeus.com/</a>
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: index.pl weirdness 
Back to top
Login to vote
colinb

External


Since: Jul 12, 2004
Posts: 4



(Msg. 5) Posted: Mon Jul 12, 2004 3:30 pm
Post subject: Re: index.pl weirdness [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Els wrote:
 > Colin JN Breame wrote:
 >
 >
  >>Davide Bianchi wrote:
  >>
   >>>Colin JN Breame <colinb.RemoveThis@chameleonnet.co.uk> wrote:
   >>>
   >>>
   >>>>The cgi-bin directory has many perl files in it.
   >>>>Alias /cgi-bin/ "/home/newbusiness/www/cgi-bin/"
   >>>
   >>>
   >>>And what if you use ScriptAlias instead of simply 'Alias'?
   >>>
   >>>Davide
   >>>
  >>
  >>Thanks for your response.
  >>
  >>I've tred replacing the Alias with ScriptAlias but it
  >>functions as before.
 >
 >
 > I'm a newbie when it comes to httpd.conf docs, but as you were
 > saying index1.pl works while index.pl doesn't: don't you have a
 > wildcard somewhere for any index file to be the automatic file
 > to display in a directory? (usually index.php index.html etc)
 >


I have a section that looks like this:

<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>

Colin<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: index.pl weirdness 
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 ]