Installing Perl and local directory

This is a discussion on Installing Perl and local directory within the Apache Web Server forums, part of the Web Server and Related Forums category; I am running apache on WIN 2K htdocs, is that wherre I would put my index.html file and if ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-25-2003
Paul \(Erie\)
 
Posts: n/a
Default Installing Perl and local directory

I am running apache on WIN 2K

htdocs, is that wherre I would put my index.html file and if I have
something referenced on the web as: http://mysite.com/pictures/image1.jpg
would I make a DIR in htdocs called pictures

How do I install Perl into Apache?


  #2 (permalink)  
Old 06-25-2003
post@apdtech.com
 
Posts: n/a
Default Re: Installing Perl and local directory

On Wed, 25 Jun 2003, Paul (Erie) wrote:

> I am running apache on WIN 2K
>
> htdocs, is that wherre I would put my index.html file and if I have
> something referenced on the web as: http://mysite.com/pictures/image1.jpg
> would I make a DIR in htdocs called pictures


$INSTALL_DIR/Apache2/htdocs

yes create a directory called pictures.

rtfm too, make sure u turn off proxy and junk like that otherwise people
will use your computer to do bad things.

>
> How do I install Perl into Apache?


http://www.activestate.com/Products/PerlEx/

>
>
>


  #3 (permalink)  
Old 06-25-2003
Paul \(Erie\)
 
Posts: n/a
Default Re: Installing Perl and local directory

in htdocs I put a file called index.html and it is still showing me the old
version...the one from apache, how can I make it use my index.html file?

<post@apdtech.com> wrote in message
news:Pine.GSO.4.44.0306242250280.13067-100000@system3.apdtech.com...
> On Wed, 25 Jun 2003, Paul (Erie) wrote:
>
> > I am running apache on WIN 2K
> >
> > htdocs, is that wherre I would put my index.html file and if I have
> > something referenced on the web as:

http://mysite.com/pictures/image1.jpg
> > would I make a DIR in htdocs called pictures

>
> $INSTALL_DIR/Apache2/htdocs
>
> yes create a directory called pictures.
>
> rtfm too, make sure u turn off proxy and junk like that otherwise people
> will use your computer to do bad things.
>
> >
> > How do I install Perl into Apache?

>
> http://www.activestate.com/Products/PerlEx/
>
> >
> >
> >

>



  #4 (permalink)  
Old 06-25-2003
The Other Guy
 
Posts: n/a
Default Re: Installing Perl and local directory

On Wed, 25 Jun 2003 03:12:19 GMT, The Other Guy responded to a post
from "Paul \(Erie\)" <none@none.invalid> who wrote in
alt.apache.configuration:


><post@apdtech.com> wrote in message
>news:Pine.GSO.4.44.0306242250280.13067-100000@system3.apdtech.com...
>> On Wed, 25 Jun 2003, Paul (Erie) wrote:
>>
>> > I am running apache on WIN 2K
>> >
>> > htdocs, is that wherre I would put my index.html file and if I have
>> > something referenced on the web as:

>http://mysite.com/pictures/image1.jpg
>> > would I make a DIR in htdocs called pictures

>>
>> $INSTALL_DIR/Apache2/htdocs
>>
>> yes create a directory called pictures.
>>
>> rtfm too, make sure u turn off proxy and junk like that otherwise people
>> will use your computer to do bad things.
>>
>> >
>> > How do I install Perl into Apache?

>>
>> http://www.activestate.com/Products/PerlEx/


<top posting reversed>

>in htdocs I put a file called index.html and it is still showing me the old
>version...the one from apache, how can I make it use my index.html file?


Look for a line in your httpd.conf file DirectoryIndex and change it
to the following:
DirectoryIndex index.html

You can have a list of files, like so:
DirectoryIndex index.html index.shtml index.htm index.php index.php3

That way, whichever one is in a directory gets served by default; if
you have two of the files in the list in the same directory, then the
one closer to the front of the list gets served.

You can basically take the default installation files ("it worked",
etc.) found in the htdocs folder and remove them. I like to keep them
around for comparison, so create a new folder in htdocs called
"originals" and put them all in there. That way only my files are in
the top level of htdocs, plus any subdirectories I create.

Experiment with things, and refer to the documentation when unsure.

Ref.
http://httpd.apache.org/docs/mod/mod...directoryindex

See also
http://httpd.apache.org/docs/misc/FAQ.html#indexes
(http://httpd.apache.org/docs/misc/FAQ-E.html#indexes)


Also http://httpd.apache.org/docs/mod/core.html#options
and
http://httpd.apache.org/docs/mod/mod...l#indexoptions

HTH
TOG

--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.

This spot may contain a satirical comment or comedic source,
and is meant to be funny. If you are easily offended, gullible
or don't have a sense of humour we suggest you read elsewhere.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:38 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0