You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Blomstrom <Ge...@geobop.com> on 2003/07/21 21:56:59 UTC

[users@httpd] Configuration Questions

I've been rereading the instructions for configuring Apache for Windows at
http://httpd.apache.org/docs-2.0/platform/windows.html, but I'm still confused.

The first thing I want to get squared away is all the "root" commands. This 
is what's listed in my conf file:

ServerRoot "C:/Program Files/Apache Group/Apache2"
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"

My websites are stored on my C drive in a folder called sites - C:sites. 
Going back to square one, am I supposed to type some reference to C:sites 
in the conf folder, or do I just take care of that in Dreamweaver > Sites > 
Edit Site?

I'm also a little confused by this passage:

"Apache for Windows contains the ability to load modules at runtime, 
without recompiling the server. If Apache is compiled normally, it will 
install a number of optional modules in the \Apache2\modules directory. To 
activate these or other modules, the new LoadModule directive must be used. 
For example, to activate the status module, use the following (in addition 
to the status-activating directives in access.conf):

"LoadModule status_module modules/mod_status.so"

Is this something I have to do or should do? If so, then do I simply create 
a new line with the text
LoadModule status_module modules/mod_status.so - presumably at the head of 
the list of LoadModule commands?

Thanks.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Configuration Questions

Posted by David Blomstrom <Ge...@geobop.com>.
At 11:09 PM 7/21/2003 -0400, you wrote:

>If you want to make c:/sites as your root tree, you should change
>DocumentRoot variable to: DocumentRoot c:/sites.
>That will serve the pages in the address: http://www.server.com without the
>"virtual directory"
>
>Is it more understandable for you now?

Thanks. I think I'll be able to figure it out now. One of the things that 
threw me off was a problem I was having with Dreamweaver that I finally fixed.

Thanks for your help.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Configuration Questions

Posted by Jeff Cohen <su...@gej-it.com>.
Answer for question 1:
I think I answered this thread before, in order to create a "virtual
directory" (=a directory which is in a different location than the root
directory of the site\server) you should make a "pointer" to it where you
say: Alias /sites c:/sites that will mean that whoever is going to go to
http://www.server.com/sites will actually be viewing the content of c:/sites
on your server.

If you want to make c:/sites as your root tree, you should change
DocumentRoot variable to: DocumentRoot c:/sites.
That will serve the pages in the address: http://www.server.com without the
"virtual directory"

Is it more understandable for you now?

Answer for questions 2:
LoadModule status_module modules/mod_status.so
That will tell the apache web server, load this module next time you start
(start means re-read the config files).

The quotation that you mentioned just explaining that win32 user do not have
to recompile the apache source like *nix user due to the fact that win32 are
in most cases has the same variables for the system itself, so when a module
will look for a DLL file, win32 system knows to point and process the
request within the DLL folder which is in most cases is
c:\%WIN_DIR%\system32 .
That means that a win32 user do not *HAVE* to recompile apache's source
tarball from scratch every time he wants to add a new module, because the
modules in apache's source are for multiple systems and each system has it's
own system files, config, or variables.

Hope I helped you in away to understand it :)

All the best,
Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!



> -----Original Message-----
> From: David Blomstrom [mailto:GeoBear@geobop.com]
> Sent: Monday, July 21, 2003 3:57 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Configuration Questions
> 
> I've been rereading the instructions for configuring Apache for Windows at
> http://httpd.apache.org/docs-2.0/platform/windows.html, but I'm still
confused.
> 
> The first thing I want to get squared away is all the "root" commands.
This
> is what's listed in my conf file:
> 
> ServerRoot "C:/Program Files/Apache Group/Apache2"
> DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
> 
> My websites are stored on my C drive in a folder called sites - C:sites.
> Going back to square one, am I supposed to type some reference to C:sites
> in the conf folder, or do I just take care of that in Dreamweaver > Sites
>
> Edit Site?
> 
> I'm also a little confused by this passage:
> 
> "Apache for Windows contains the ability to load modules at runtime,
> without recompiling the server. If Apache is compiled normally, it will
> install a number of optional modules in the \Apache2\modules directory. To
> activate these or other modules, the new LoadModule directive must be
used.
> For example, to activate the status module, use the following (in addition
> to the status-activating directives in access.conf):
> 
> "LoadModule status_module modules/mod_status.so"
> 
> Is this something I have to do or should do? If so, then do I simply
create
> a new line with the text
> LoadModule status_module modules/mod_status.so - presumably at the head of
> the list of LoadModule commands?
> 
> Thanks.
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org