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



I concur with Rich ..

When a request is made to a web server for a directory without a file
specified, the server looks for the default file.  If a default file
is does not exist, it will either return this error or generate a file
listing, depending on the configuration.

The error is generated because the is not configured to generate
directory listings and doesn't have a default file to serve when the
directory is requested.  The default file can be specified in the
configuration, but generally it is "index.html" or some variation. 
One solution is to add a default file and put links to each picture.

Another solution is to enable directory listing for the directory. If
the web server is the "original", look up "directory listing" in
Information Center.  If the web server is Apache ..
http://www.apachefreaks.com/tutorials/24/1.php


Note that the iSeries web server can be configured via a web interface
on port 2001.   http://144.162.90.48:2001/

Have fun.

Tom J.

On 11/29/05, Rich Duzenbury <rduz-midrange@xxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, 2005-11-29 at 20:53 -0500, Thomas wrote:
>
> > When I click on a family picture directory I get thismessage.
>
> Here is the message I receive:
> "You do not have permission to access /pictures1/ on this server."
>
>
> <br>
> <A href="./pictures6/Ryan_Hockey.jpg">
>    <font size="2" face="arial">
>    Ryan Hockey
>    </font>
>    </A>
> <br>
>
> This is a link to an actual file.  The web server looked over the permissions
> to the pictures6 directory, and the Ryan_Hockey.jpg file, and liked them, so
> it served the image.
>
> A href="./pictures6/">
>    <font size="2" face="arial">
>    Pictures6
>    </font>
>    </A>
> <br>
>
> This link is probably a link to a directory.  The web server can be
> configured to generate a directory listing if you give it a URL that
> points at a directory, rather than a file.  I would think this would be
> turned off in the config file by default, as many folks would consider
> it a security risk to willy nilly allow folks 'behind the curtain'.
> This is most likely why you get an error.
>
> Either change the config to allow directory listings, or better yet,
> build an /pictures6/index.html file that has links to each of the
> pictures that you want to display.
>
> Another possibility is that you might have a /pictures6/index.html file,
> but it's permissions are set incorrectly.  You'll have to tell us a bit
> more, perhaps.
>
> Regards,
> Rich
>
> --
> 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.
>
>


--
Tom Jedrzejewicz
tomjedrz@xxxxxxxxx


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.