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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? |
|
|||
|
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/ > > > |
|
|||
|
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/ > > > > > > > > |
|
|||
|
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. |