iMac Pro review
I have installed Apache2, php and Mysql, o.k.
As I understand it, Apache is now my offline server?
When I open IE6 http://
localhost, the Apache default page opens, no problem.
How can I get my existing website to open rather that the Apache page, so that I can test etc?
or am I barking up the wrong tree?
Thanks FE, I have tried that with no result,
I copied all of the files from "My Webs" to the htdocs
What should I write in the address box of IE?
I should have added that I produced my online website (very primitive) with Front page 2003.
Where have you put them in htdocs?
In htdocs do you see a page called index.html and an apache image? That is the Apache page that you are seeing. Your own site's index page should replace that.
Do you see the apache index and image and all your pages or do you see the apache files and a folder containing your site?
your own site contains a file called index.html?
If it doesn't you won't see anything other than the Apache default page when you enter localhost in your browser's address bar.
Thanks for the responses,
I did as was suggested, but to no joy, in the end I removed everything from Apache2 - htdocs, the contents are now in a folder on my desktop.
Still localhost opens with the normal apache page saying it is installed correctly and I can now add on etc.
so htdocs is now empty, I did put all of my website files into it, not in a folder, still nothing, so I removed them as well?
I initially installed Apache by using the Devshed "setup 1 point 5.exe" and it loaded without any problems.
does your htdocs folder contain a file called index.html? I know it contains nothing now, because you've moved your site files, but is there an index.html file amongst those? That's the file that Apache looks for when you type 'localhost' into your browser.
The fact that you can see the Apache default page is an indication that the installation has completed correctly.
You didn't answer my question......
Sorry FE :-(((
<does your htdocs folder contain a file called index.html?
There were many index.html files, all of which finished with a language abreviation i.e.
index.html.en, index html.au, etc.
I opened the index.html.en file with notepad and it did appeare to be the english default page for Apache.
As I said, the default page for Apache still opens even though I have removed all of the files from htdocs,
and even when I replace everything with the files of my web page (not in a folder). there is no change, the default page still appears.
Replace all the files in your htdocs folder, exactly as they were.
Then create a folder inside htdocs called 'myweb'
Place all your html files inside that folder.
Now type this into your browser after http://
that you can alter the document root from htdocs to another location if you wish. Some people find it easier to work with their site files in a different directory on their hard drive, and you can arrange for Apache to load from that location instead of from htdocs.
To do this you'll need to edit the configuration file, which you'll find at: C:\Program Files\Apache Group\Apache2\conf\httpd.conf
Open this file in Notepad and look for this line:
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
Change it so that it says:
DocumentRoot C:/location of your web site folder
Once you've done that and saved the changes you'll have to restart Apache to make it work.
This thread is now locked and can not be replied to.