httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Medvedev" <medve...@rsdsoft.msk.ru>
Subject Re: apache URL help
Date Fri, 21 Jun 2002 13:35:12 GMT
Even if you use virtual hosts you can set the DocumentRoot of the main
server (not a virtual host) to the /var/apache/htdocs/hotquery. Then, set
the DirectoryIndex of the <Directory /var/apache/htdocs/hotquery> directory
to the name of your application (in windows it will be something like
hotquery.exe, in linux - I'm not sure).

DocumentRoot /var/apache/htdocs/hotquery

<Directory /var/apache/htdocs/hotquery>
  // ... your settings
  DirectoryIndex your_hotquery_executable_name
</Directory>

Tell us, whether the "hotquery" is an executable or a name of a directory.

Thanks,
            Dmitry.
=====================================
----- Original Message -----
From: <DeAnna.Clemans@McKGenMed.com>
To: <users@httpd.apache.org>
Sent: Friday, June 21, 2002 5:07 PM
Subject: Re: apache URL help


>
> Thanks for the reply.
> This is what I have in the httpd.conf file
> <Directory />
>    Options FollowSymLinks
>     AllowOverride None
> </Directory>
>
> <Directory /var/apache/htdocs/html>
>    Options -Indexes FollowSymLinks
>     AllowOverride None
> </Directory>
>
> I added the second entry based on your recommendation.  I still get the
> test apache page.  I'm sure I am missing something here.
>
>
>
>
>
> Lee Fellows <lfellows@4lane.com> on 06/21/2002 09:01:23 AM
>
> Please respond to users@httpd.apache.org
>
> To:    users@httpd.apache.org
> cc:
>
> Subject:    Re: apache URL help
>
> Hi,
>
>   What do you want to happen when they just enter http://servername?
>
>   If you change the 'Options' of the Directory section for
>   /var/apache/htdocs/html to 'Options -Indexes (rest of line)' then
>   users entering just http://servername should see a 403 access denied
>   error.
>
>
>
> On Fri, 2002-06-21 at 08:11, DeAnna.Clemans@McKGenMed.com wrote:
> > I would like to block the test page that come up when you just time in
> the
> > server name.
> > If you enter http://servername  - the Apache test page displays
> > If you enter http://servername/hotquery  - You get the proper site.
> >
> > ---------------------- Forwarded by DeAnna Clemans/McKGenMed on
> 06/21/2002
> > 08:09 AM ---------------------------
> > (Embedded image moved to file: pic00041.pcx)
> > DeAnna Clemans
> > (Embedded image moved to file: pic18467.pcx)
> > 06/21/2002 08:06 AM
> > (Embedded image moved to file: pic26500.pcx)
> >
> > To:    users@httpd.apache.org
> > cc:
> >
> > Subject:    Re: apache URL help  (Document link: DeAnna Clemans)
> >
> > What I am seeing is the Apache test page.  It says the installation was
> > successful.  Now you need to add content to this directory and replace
> this
> > placeholder page.   I don't know how to replace the placeholder page ???
> >
> > This test page comes from /var/apache/htdocs/html
> > My content is at /var/apache/htdocs/hotquery
> >
> >
> >
> >
> > "Dmitry Medvedev" <medvedev@rsdsoft.msk.ru> on 06/21/2002 02:39:24 AM
> >
> > Please respond to users@httpd.apache.org
> >
> > To:    <users@httpd.apache.org>
> > cc:
> >
> > Subject:    Re: apache URL help
> >
> > First of all sorry, I was away... :-(
> >
> > And what's your hounghts about how this should work? (please use as
> simple
> > English as possible :-))
> > ====================================
> > ----- Original Message -----
> > From: <DeAnna.Clemans@McKGenMed.com>
> > To: <users@httpd.apache.org>
> > Sent: Thursday, June 20, 2002 7:31 PM
> > Subject: Re: apache URL help
> >
> >
> > >
> > > Another question please ---
> > > I am very close now.
> > > I can get to my logon screen by entering servername/hotquery.  This
> works
> > > great.
> > >
> > > Now if I only put in the servername, I receive the Apache placeholder
> > page
> > > that indicates that I now have to add content to this directory and
> > replace
> > > this placeholder page, or else point the server at their real content.
> > >
> > > What am I missing here?
> > >
> > >
> > >
> > >
> > >
> > > "Dmitry Medvedev" <medvedev@rsdsoft.msk.ru> on 06/19/2002 11:53:07 AM
> > >
> > > Please respond to users@httpd.apache.org
> > >
> > > To:    <users@httpd.apache.org>
> > > cc:
> > >
> > > Subject:    Re: apache URL help
> > >
> > > You should put this in the virtual host section (which is located
> > commonly
> > > at the bottom of the httpd.conf file)
> > >
> > > Well, I might have misunderstood you, this is possible for the English
> is
> > > not my mother tongue.
> > > If my reply is not quite explanatory, please provide more detailed
> > > information....
> > >
> > > Dmitry
> > >
> > > ===================================================
> > > ----- Original Message -----
> > > From: <DeAnna.Clemans@McKGenMed.com>
> > > To: <users@httpd.apache.org>
> > > Sent: Wednesday, June 19, 2002 6:59 PM
> > > Subject: Re: apache URL help
> > >
> > >
> > > >
> > > > Thanks again.  I am not sure where to put this information in the
> > > > httpd.conf file.  I the actual format:
> > > >
> > > > <Directory /servername>
> > > >   Options -Indexes
> > > > </Directory>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > "Dmitry Medvedev" <medvedev@rsdsoft.msk.ru> on 06/19/2002 03:23:35
AM
> > > >
> > > > Please respond to users@httpd.apache.org
> > > >
> > > > To:    <users@httpd.apache.org>
> > > > cc:
> > > >
> > > > Subject:    Re: apache URL help
> > > >
> > > > <Directory /your_server_dir>
> > > >  Options -Indexes
> > > > # -Indexes explicitly forbids listing of the "/your_server_dir"
> > directory
> > > > # still you should think of what the server should present to the
> > client
> > > if
> > > > finds no document which it will treat as #DirectoryIndex
> > > > </Directory>
> > > >
> > > > You are welcome :-)
> > > > ====================================
> > > > ----- Original Message -----
> > > > From: <DeAnna.Clemans@McKGenMed.com>
> > > > To: <users@httpd.apache.org>
> > > > Sent: Tuesday, June 18, 2002 9:36 PM
> > > > Subject: Re: apache URL help
> > > >
> > > >
> > > > >
> > > > > Thank you sooooooooooooooooooo much.  I was able to change the
> > > > > DocumentRoot, leaving the 1st alias pointing to the logon.cfm and
> > > removed
> > > > > all other alias entries.
> > > > >
> > > > > Can I ask one other question -
> > > > > When I key in the actual server name alone ( like http://server)
,
> I
> > > get
> > > > > the index of directories.  How can I block this?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > "Dmitry Medvedev" <medvedev@rsdsoft.msk.ru> on 06/18/2002 01:00:21
> PM
> > > > >
> > > > > Please respond to users@httpd.apache.org
> > > > >
> > > > > To:    <users@httpd.apache.org>
> > > > > cc:
> > > > >
> > > > > Subject:    Re: apache URL help
> > > > >
> > > > > Suppose, several solutions can be found.
> > > > > One of them consists in setting the DocumentRoot to the
> > > > > "var/apache/htdocs/CFIDE/HotQuery", additionally you can flavour
> all
> > > this
> > > > > with a new virtual host. Still this one cannot be considered the
> > > smartest
> > > > > an
> > > > > approach.
> > > > >
> > > > > If you really think you need to do something about this you can
try
> > to
> > > > use
> > > > > mod_rewrite (http://modrewrite.com/). The latter provides a real
> > power
> > > to
> > > > > do
> > > > > such tricks.
> > > > >
> > > > > Consider the following pages:
> > > > > http://httpd.apache.org/docs-2.0/misc/rewriteguide.html
> > > > > http://www.engelschall.com/pw/apache/rewriteguide/
> > > > >
> > > > > Of course, something can be found on the http://httpd.apache.org
> and
> > > via
> > > > > www.google.com.
> > > > >
> > > > > Still, your approach in the current situation I would consider the
> > most
> > > > > optimal: it does not cause overheat 'cos it does not use any extra
> > > > > functionality besides the most common.
> > > > > As for me, I do the same you did when deploying, for instance, EWF
> on
> > > > > Apache, 'cos I know for sure what and how many directories I
should
> > > have
> > > > to
> > > > > have it all up and running and that neither the number of them nor
> > > their
> > > > > locations will change. So, I do not need to manually correct the
> > > aliases
> > > > > every day. Still, it's up to you to make a decision.
> > > > >
> > > > > PPS: Sorry for my English.
> > > > > ================================
> > > > > ----- Original Message -----
> > > > > From: <DeAnna.Clemans@McKGenMed.com>
> > > > > To: <users@httpd.apache.org>
> > > > > Sent: Tuesday, June 18, 2002 8:18 PM
> > > > > Subject: apache URL help
> > > > >
> > > > >
> > > > > >
> > > > > > I am using Apache and another product called hotquery.  I want
to
> > > > shorten
> > > > > > the URL so users only have to enter something like:
> > > > > > /med/hotquery
> > > > > >
> > > > > > While doing this, I also want to force the users to a logon
> screen
> > in
> > > > > > hotquery.
> > > > > > I have added the following in the httpd.conf file -
> > > > > >
> > > > > > Alias /hotquery "/var/apache/htdocs/CFIDE/HotQuery/logon.cfm"
> > > > > >
> > > > > > I am not sure Alias is actually what I need but it does appear
to
> > > work.
> > > > > > When /med/hotquery is entered as the URL it goes right to the
> > > logon.cfm
> > > > > > Now, I have had to creaste several other aliases to point to
> > images,
> > > > etc.
> > > > > > See below.
> > > > > >
> > > > > > Alias /images "/var/apache/htdocs/CFIDE/HotQuery/images"
> > > > > > Alias /Logon_Process.Cfm
> > > > > > "/var/apache/htdocs/CFIDE/HotQuery/Logon_Process.Cfm"
> > > > > > Alias /main.cfm "/var/apache/htdocs/CFIDE/HotQuery/main.cfm"
> > > > > > Alias /query_list.cfm
> > > > "/var/apache/htdocs/CFIDE/HotQuery/query_list.cfm"
> > > > > > Alias /header.cfm "/var/apache/htdocs/CFIDE/HotQuery/header.cfm"
> > > > > > Alias /javascript.js
> > > "/var/apache/htdocs/CFIDE/HotQuery/javascript.js"
> > > > > > Alias /sql.cfm "/var/apache/htdocs/CFIDE/HotQuery/sql.cfm"
> > > > > > Alias /hotprompt.cfm
> > > "/var/apache/htdocs/CFIDE/HotQuery/hotprompt.cfm"
> > > > > >
> > > > > >
> > > > > > There must be an easier way.  Is alias the proper thing to use
in
> > > this
> > > > > > case????
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ----
> >
>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message