![]() |
|
#1
|
|||
|
|||
apache problemHi,
I am using Apache 2.2 on Windows XP. I am running a PHP web application locally on my machine and I would like to use a link like <a href="/">Home</a> that when clicked it will take me to the home page. at them moment it takes me to localhost am I missing an apache configuration setting or something? I have been pulling my hair out trying to figure this out. thanks a lot for your help guys |
|
#2
|
||||
|
||||
Re: apache problemIsn't localhost the root file? On all my webserver instances it usually works that way, though it could be due to defaults that I haven't changed. Or maybe I don't totally understand your question.
There should be a config file (I don't recall the actual name) that holds all the Apache settings. Within this file you will be able to tell Apache where to find the default HTML files. Verify that this is pointing to your home directory. You may also want to check your hosts file and see if any of the addresses listed in it need to be changed. __________________
Common Sense v2.0-Striving to make the world a little bit smarter. |
|
#3
|
|||
|
|||
Re: apache problemi believe in the httpd.conf file u can set the "document root" to whatever...i have it as c:/Apache/htdocs
^im not sure if that answers ur ? or not |
Recent GIDBlog
First week of IA training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| apache server configuration problem | albert85 | Apache Web Server Forum | 1 | 03-Jan-2006 06:03 |
| Apache installation problem | ericho | Apache Web Server Forum | 0 | 03-Oct-2005 15:49 |
| configuring problem of apache | tikmi | Apache Web Server Forum | 1 | 26-Jul-2005 09:34 |
| Apache 2.0.52 on W2K - problem | newbie3 | Apache Web Server Forum | 0 | 14-Dec-2004 04:36 |
| Apache / PHP problem, maybe output length? | HaganeNoKokoro | Apache Web Server Forum | 2 | 08-Sep-2004 07:22 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The