|
|
|
|
24th Apr 03, 08:39 PM
|
|
Super Moderator
|
|
Join Date: Jul 2002
Location: Australia
Posts: 2,902
|
|
Hi,
I downloaded and installed Apache 2.0 and tried to host my site for more than 1.5 hours (from 0100hrs to 0220hrs) but still no clue.
When I go to [hide]http://mcored.dyndns.org/[/hide] it says:
If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page.
Much appreciated if you could tell me how to replace the page. I mean what should be my next step?
Thank you very much,
~*McoreD*~
I was a IIS-man for a long time but I heard it is so unsecure.
|
|
25th Apr 03, 12:31 AM
|
|
Administrator
|
|
Join Date: Oct 2001
Location: The Past Through Tomorrow
Posts: 1,591
|
|
Take a look at the httpd.conf file
/me waits to see the hidden text until I add more...
/JD
|
|
25th Apr 03, 12:32 AM
|
BetaONE Supporter
|
|
Join Date: Jul 2001
Posts: 1,979
|
|
I'm not sure if it's the same with Apache 2x as 1x, I haven't used 2x much since things are just now beginning to be fully compatible with it, but look in your apache install dir\htdocs , and delete everything in there and put your files there, that's how you do it on 1x at least.... the folder may have changed
|
|
25th Apr 03, 12:32 AM
|
BetaONE Supporter
|
|
Join Date: Jul 2001
Posts: 1,979
|
|
Originally posted by JacKDynne@Apr 24 2003, 04:31 PM
Take a look at the httpd.conf file
/me waits to see the hidden text until I add more...
/JD
lol jd, beat you to it :P
|
|
25th Apr 03, 12:39 AM
|
|
Administrator
|
|
Join Date: Oct 2001
Location: The Past Through Tomorrow
Posts: 1,591
|
|
You faqqer
McoreD, can also change the default dir location:
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "F:/Program Files/Apache Group/Apache2/htdocs"
Change the DocumentRoot to point to your html file locations
/JD
|
|
25th Apr 03, 12:41 AM
|
BetaONE Supporter
|
|
Join Date: Jul 2001
Posts: 1,979
|
|
good point :P
|
|
25th Apr 03, 03:32 AM
|
|
Super Moderator
|
|
Join Date: Jul 2002
Location: Australia
Posts: 2,902
|
|
Originally posted by JacKDynne@Apr 25 2003, 06:39 AM
Change the DocumentRoot to point to your html file locations
he he. looking at the httpd.conf file was what i was doing but i didn't try DocumentRoot. guess what i did for the first time. i moved all the modules to my site's folder when it said it couldnt detect the modules. i moved the logs to my site's folder when it said it couldnt detect the logs. and then no errors but the site didn't work lol. then i was chaging ServerRoot and then UserDir but nothing worked.
phew now i see DocumentRoot has changed the site location. thanks JD for the help#1. now we come to the user rights part. i get:
Forbidden
You don't have permission to access / on this server.
i will have a look how to do it. but this way is fast. any ideas? thanks.
|
|
25th Apr 03, 02:47 PM
|
|
Administrator
|
|
Join Date: Oct 2001
Location: The Past Through Tomorrow
Posts: 1,591
|
|
Did you change your conf. file in this location as well?
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/Program Files/Apache Group/Apache2/htdocs">
</Directory>
And does your other respective section look like this?
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
/JD
|
|
25th Apr 03, 03:43 PM
|
Senior Member
|
|
Join Date: Jul 2001
Posts: 254
|
|
And even with all this.... you guys still prefer Apache, huh ? I know everyone loves to hate M$ but my Windows 2000 Servers at work just keep on tickin morning noon and night without a hitch. Sure you have to update/patch them but I just consider that general maintenance (and you could even automate it if you wanted). The support and documentation for it is great, and there's info all over the place too. I mean I know I'm gonna get flamed here by all the Open Source lovers, but c'mon, who's ever gone through all this hassle using IIS? Okay, come and get me .
All the best,
E3
|
|
25th Apr 03, 05:03 PM
|
|
Administrator
|
|
Join Date: Oct 2001
Location: The Past Through Tomorrow
Posts: 1,591
|
|
:P :P
I know everyone loves to hate M$ but my Windows 2000 Servers at work just keep on tickin morning noon and night without a hitch
So do mine, aside from having to stop and start a few services every now and then, but really no major gripes
(and you could even automate it if you wanted).
Not recommended IMHO as some of the patches "break" other apps that may be running
I like Apache 'cause it's free (no licensing costs) and really not that hard to figure out, the httpd.conf file has most everything in it needed to get you up and running
No flame intended E3
/JD
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 02:13 PM.
|
|