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



Your document root is htdocs. As far as the web server is concerned, that is 
the root of your hard disk. It cannot serve files outside of the doc root. 

Your script and style dirs should go in the htdocs dir. 


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx on behalf of Ashish Kulkarni
Sent: Tue 8/2/2005 6:25 PM
To: java400-l@xxxxxxxxxxxx
Subject: [OT]Apache server on AS400
 
Hi
i have created a HTTPServer on AS400 and is working
fine,
the directory structure looks like this
tradeswr-
         |
         --conf
         |
         --htdocs
         |
         --html
               |
               --script
               |
               --style
         |
         --logs
My problem is I am not able to access any HTML pages
in html folder, nor can i access any java script from
script folder.
What do i do it get it working

Here is how my httpd.conf file looks like
ServerRoot /www/tradewsvr
DocumentRoot /www/tradewsvr/htdocs
DefaultType text/html
CGIConvMode %%EBCDIC/EBCDIC%% 
MaxPersistentCGI 70
#============================================================

Options +ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch
-Includes -Indexes -MultiViews
ThreadsPerChild 50
UseCanonicalName Off
ErrorDocument notauthorized "Userid or password is not
valid. These entries are case sensitive."
Listen 192.168.1.220:80
ServerName www.brokers.pierogies.com:80
#=============================================================
Alias /images/ /www/tradewsvr/images
AliasMatch /ateeco3h/(.*)\.htm
/QSYS.LIB/TRADECGI.LIB/HTMLSRC.FILE/$1.mbr
ScriptAliasMatch /ateeco3/(.*)
/QSYS.LIB/TRADECGI.LIB/$1.pgm 
Alias /ateeco/ /www/tradewsvr/
#=============================================================
AlwaysDirectoryIndex Off
<Directory /www/tradewsvr>
   Order Deny,Allow
   Deny From all
</Directory>
<Directory /www/tradewsvr/htdocs>
   Order Allow,Deny
   Allow From all
</Directory>
<Directory /www/tradewsvr/html>

   Order Allow,Deny
   Allow From all
</Directory>
<Directory /QSYS.LIB/TRADECGI.LIB>
   AuthType Basic
   AuthName TradeSpending
   PasswdFile QGPL/ATTRADE
   Require valid-user
   Order Allow,Deny
   Allow From all
</Directory>

    

A$HI$H

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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.