|
|
|
|
#1 (permalink) |
|
New Poster
Join Date: Jul 2008
Posts: 1
|
I have read apache docs.
I have entered document root: # 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 "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" DocumentRoot "C:/operator1/oex-onmedias/primary" So now apparently, when I type "http://www.onmedias.com/" in my browser, it would display C:/operator1/oex-onmedias/primary/index.html, but it does not work! Why? Another question, how would I then be able to browse my actual website on my web host after I have uploaded it to my online server if the url is the same? it would only take me to the local server. Last question, how would I set up multiple local websites on apache? Do I need to do a new apache install for each website? Or if not, how do I divide doc-root urls and domains of multiple sites in my config file? |
|
|
|
|
|
#2 (permalink) | ||
|
New Poster
Join Date: Feb 2008
Posts: 7
|
Quote:
You'll also need a bit in the configuration file that says: <IfModule mod_dir.c> DirectoryIndex index.html </IfModule> Quote:
|
||
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 11:11 PM.








Linear Mode





