You should be able to do that in version 2 of Apache, which you should
really try to get installed.  I think levels beyond 2.0.43 or something
have some security fixes as well as this multi-directory feature.  I'm not
sure that it worked very well on version 1.  I have 2.0.49 installed.........


At 05:06 PM 8/23/2004, you wrote:
Hi,

I have been asked to set up a web server for a Linux partition S390
(9672-R26).
I'm a newbie to Linux (and networking). I got Linux (2.4.17) up (Debian
GNU/Linux 3.0rev2)
 and am serving web pages with apache (1.3.26),
but I've a irritation that I can not seem to figure out.
I want the user to be able to come in with

tcpipName-or-address/test1
Please note the lack of / at the end (it works fine if the final / is
added).
Is there any way to do this, and if so how?

In httpd.conf I've got
<IfModule mod_dir.c>
   DirectoryIndex index.html index.htm default.htm
</IfModule>
Alias /test1 /usr/mywebtest/
<Directory /usr/mywebtest/>
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>

The first page is in /usr/mywebtest/default.htm
I've tried an alias pointing directly to that (Alias /test1
/usr/mywebtest/default.htm ),
but that seemed to make the base directory for all other pages, images,
...
 the root directory (not /usr/mywebtest like I wanted it to be).

Thanks,
Steven.


---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390


Andrew Engels, CPIM                www.grtlks.com
Great Lakes Consulting, Inc.      [EMAIL PROTECTED]
(773) 205-1431
Chicago, IL             Where the sky was first
scraped

Support SAGGROUP International in your local region:  <http://www.saggroup.org>

Watch for the next NATURAL Conference:   www.naturalconference.com

Catch the WAVV! www.wavv.org

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to