|
Thank you all.
http://192.168.0.7 produces error 403 -
http://192.168.0.7/index.html produces error 404 - not found
I simply followed the instructions in iSeriesIBM HTTP Server Version 5
Release 3 and used IBM Web Administration for iSeries to add a directory
"docs" to the server that I had created "erros07". I didn't manually edit
the configuration file. I hoped that this would give me something that
worked, to form a base on which I could build. I will have to read the
manual if none of you can see what is wrong
The code is
__________________________________________________
*ERROS07* <http://192.168.0.7:2001/ERROS07> > *Directive
Index*<http://192.168.0.7:2001/Directive%20Index>> Display
Configuration File
Display Configuration File *HTTP server:* ERROS07 *Selected file:*
/www/erros07/conf/httpd.conf
* 1** # Configuration originally created by Create HTTP Server wizard on
Sun Sep 21 22:47:23 UTC 2008* * 2** Alias /docs/ /www/erros07/docs/* * 3
** Listen *:80* * 4** DocumentRoot /www/erros07/htdocs* * 5** Options
-ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -IncludesNoExec
-Indexes -MultiViews* * 6** LogFormat "%h %l %u %t \"%r\" %>s %b
\"%{Referer}i\" \"%{User-Agent}i\"" combined* * 7** LogFormat "%{Cookie}n
\"%r\" %t" cookie* * 8** LogFormat "%{User-agent}i" agent* * 9**
LogFormat
"%{Referer}i -> %U" referer* * 10** LogFormat "%h %l %u %t \"%r\" %>s %b"
common* * 11** CustomLog logs/access_log combined* * 12** LogMaint
logs/access_log 7 0* * 13** LogMaint logs/error_log 7 0* * 14**
ServerSignature
On* * 15** AccessFileName .htaccess* * 16** SetEnvIf "User-Agent"
"Mozilla/2" nokeepalive* * 17** SetEnvIf "User-Agent" "JDK/1\.0"
force-response-1.0* * 18** SetEnvIf "User-Agent" "Java/1\.0"
force-response-1.0* * 19** SetEnvIf "User-Agent" "RealPlayer 4\.0"
force-response-1.0* * 20** SetEnvIf "User-Agent" "MSIE 4\.0b2;"
nokeepalive* * 21** SetEnvIf "User-Agent" "MSIE 4\.0b2;"
force-response-1.0* * 22** DirectoryIndex index.html* * 23** IndexOptions
-SuppressHTMLPreamble* * 24** <Directory />* * 25** Order
Deny,Allow* * 26** Deny From all* * 27* *</Directory>* * 28**
<Directory /www/erros07/docs>* * 29** Order Allow,Deny* * 30**
Allow
>From all* * 31* *</Directory>* * 32** <Directory /www/erros07/htdocs>*
* 33** Order Allow,Deny* * 34** Allow From all* * 35* *
</Directory>*
_____________________________________________________
htdocs was created when I created erros07
many thanks
Rob
2008/10/5 Dean, Robert <rdean@xxxxxxxxxxxx>
Based on your description, the explicit URL would be
http://192.168.0.7/index.html
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx on behalf of Rob Dixon
Sent: Sat 10/4/2008 8:24 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] HTTP Apache V5R3 problem
I have scratch installed V5R3. I am trying to set up Apache which I haven't
used before. As far as I can tell, Admin is OK, and now, following the
instructions, I have created my own test directory. This is
www/erros07/docs and there is an index.html file in there. But if I try to
access
http://192.168.0.7:2001/docs
I get error 403 - "The website declined to show this webpage".
This means that the page is there but the authority is wrong, but I cannot
see how. Everything seems to have QTMHHTTP authority.
If I try http://192.168.0.7/docs
I get error 404 - not found which is what I would expect at this stage.
This is probably something very basic due to my ignorance of Apache - I
only
use the original P server on my V5R1 nachines
Can anyone help please?
Rob Dixon
www.erros.co.uk
www.boarstall.com
--
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 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.
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus Database: 270.7.5/1705 - Release Date: 10/3/2008 8:18 AM
As an Amazon Associate we earn from qualifying purchases.
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.