× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Not sure, but I'm guessing that it's actually looking in
/WebPages/documents for your files.

In my config file the AliasMatch with ^/(.*) is the very last one in the
list (of about 15).  Maybe the rules are built as the file is read and
it needs to be last in the list.


John A. Jones, CISSP
Americas Information Security Officer
Jones Lang LaSalle, Inc.
V: +1-630-455-2787  F: +1-312-601-1782
john.jones@xxxxxxxxxx

-----Original Message-----
From: Mike Skvarenina [mailto:mskvarenina@xxxxxxx] 
Sent: Wednesday, December 22, 2004 7:45 AM
To: WEB400@xxxxxxxxxxxx
Subject: [WEB400] Passing multiple IFS directories

This one should be a no-brainer for someone out there.

 

I've got 2 folders in my IFS I'm trying to serve via my Apache
implementation.  The first is a folder called WebPages and it contains a
number of sub-folders which all seem to serve just fine.  For example I
can say this in my web page <Img src="/images/photos/3362.JPG"> and the
image file located in WebPages/images/photos is served.

 

Below are the 2 directives I have in my config file for this folder.

 

<Directory /WebPages/>

   Allow From all

</Directory>

 

AliasMatch ^/(.*) /WebPages/$1

 

 

 

 

Now I have a second IFS folder that I'm trying to serve.  On the IFS,
it's actually called DocImage.  Below is what I added to my config file
for this folder.

 

<Directory /DocImage/>

   Allow From all

</Directory>

 

AliasMatch ^/documents/(.*) /DocImage/$1

 

 

My problem is however I cannot seem to reference items in the DocImage
folder.  I'd like to be able to say
http://1.2.3.4/documents/document1.pdf
but all I get is a 404 File not found

 

 

Any help would be appreciated.

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To
post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.




This email is for the use of the intended recipient(s) only.  If you have 
received this email in error, please notify the sender immediately and then 
delete it.  If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this email without the author's prior permission.  
We have taken precautions to minimize the risk of transmitting software 
viruses, but we advise you to carry out your own virus checks on any attachment 
to this message.  We cannot accept liability for any loss or damage caused by 
software viruses.  The information contained in this communication may be 
confidential and may be subject to the attorney-client privilege. If you are 
the intended recipient and you do not wish to receive similar electronic 
messages from us in future then please respond to the sender to this effect.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.