× 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.



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.


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.