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



Did you authorize the Webserver USERID (usually QTMHHTTP) to have read access 
to the tradeswr/html folder and subfolders ? Also take a look in the logs in 
the logs directory, they can be very useful at times (not all the time 
unfortunately)

>>> kulkarni_ash1312@xxxxxxxxx 8/2/2005 7:25:19 PM >>>
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.