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 Wed, 19 Jun 2002 15:53:07 GMT
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


Mime
View raw message