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



David,

PLEASE PLEASE PLEASE post in _Plain_Text_ (NOT screenshots that we can't edit) the content of the Apache config file that Zend set up on install. THAT is the one you need to work with. By creating a new one you created a new problem because you have to link the new config to the fast-cgi stuff needed for PHP to run the wiki.

Even if you add the required directives to this new configuration it still won't be able to run the wiki php scripts without further work. Just go back to the one Zend set up and we'll work from there. It is not hard.

Just post the config file in text form and we'll tell you what to change.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Aug 27, 2018, at 6:48 PM, David Shirey <info@xxxxxxxxxxxxx> wrote:

OK, I know I am not doing this exactly (or at all) the way you guys are suggesting, but I am trying to get this done as quickly as possible so I can go on to things I understand. I will look back over the great example you have given me a bit later.

I used the IBM Web Administrator thingy to create an HTTP server that I pointed at the directory I am trying to work with. The example that Paul did in his video seemed to be dealing with an empty directory. The person I am working for has already downloaded Media Wiki into /www/wiki and so I am stuck with that. Attached is a ink to the server general properties in the web app, plus the configuration script that it created.

I have the server running on the production machine, and I try to go to http://“ip address”:1212/index.php but I get ‘you do not have permission to index.php on this server’. I get the same message if I use /www/wiki/ or even if I miss-spell index as indexx.php So I am not sure it is a permission issue.

https://imgur.com/a/SzAhKBs

On Aug 27, 2018, at 6:07 PM, Bradley Stone <bvstone@xxxxxxxxx> wrote:

This article, which I've posted before, has a very simple Apache config
that does not only static files, but CGI as well. Sounds like you just
want static, so ignore the CGI part and it's even more simple.

https://www.fieldexit.com/forum/display?threadid=174

In this case spending a little time to learn to walk before trying to run
will pay off in the end.

If you want I can also put together an article on how to link an HTTP
instance to that config. I do all that by hand too. In fact, I found one
here:
https://www.fieldexit.com/forum/display?threadid=19

Just scan for QATMHINSTC and it should bring you to the thread itself on
how that works.

Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #13 <https://www.bvstools.com/mailtool.html>: The ability
to use an IFS stream file as the body of the email (either text or html).

On Mon, Aug 27, 2018 at 1:46 PM David Shirey <info@xxxxxxxxxxxxx> wrote:

I am not ignoring what I have been told. But I don’t know how to do or
find much of this stuff. I was thinking that if I went into http://'ip
address’/httpAdmin that I could set something up similar to what I see for
the Zend package. Is that not how you would normally do it, and the scripts
and configs are set up behind the scenes? I am not sure however if I should
be creating a web server, HTTP server, application server from this tool.

On Aug 27, 2018, at 1:29 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

You can't do what you are trying to do just with this config David. See
Brad's earlier example. Unless you are explicitly allowing access elsewhere
in the config the default will be to prohibit access to anything _except_
files in /www/zendphp7/htdocs and those would be reached via
http://myserver/myfile.html <http://myserver/myfile.html> or whatever.
Normally Zend sets up on a different port to the standard 80 but since you
haven't shown us the full config file ... the thing we really needed to see
- which is text and could just have been copied/pasted here is the result
of selecting "Display Configuration File" under "Tools" on the LHS.

You are going to need some directory entries - see Brad's example
earlier in the thread.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Aug 27, 2018, at 12:27 PM, David Shirey <info@xxxxxxxxxxxxx> wrote:

Here is a link to the two screen shots that I believe you have asked
for.

https://imgur.com/a/8kYTFjS

On Aug 24, 2018, at 3:30 PM, Rob Berendt <rob@xxxxxxxxx> wrote:

The list strips attachments.
Suggest copy/paste (just the text) from 5250 and not a print screen.

Also they are asking for the contents of
/www/WEBSERVICE1/conf/httpd.conf

If you feel you just have to use images, then paste them to imgur.com
and
paste the link to the image here.
If you find httpd.conf too much for an email, or want to monocase it
or
whatever you can pastes it into code.midrange.com and paste that link
here.

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: "David Shirey" <info@xxxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxx>
Date: 08/24/2018 03:14 PM
Subject: Re: [WEB400] Accessing an IFS file from the Browser
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>



Here are two s creen shots - the path from a WRKLNK and what I think
you
are referring to when you talk about the HTTP config. Correct me if I
am
wrong.



On Aug 24, 2018, at 1:57 PM, Bradley Stone <bvstone@xxxxxxxxx <
mailto:bvstone@xxxxxxxxx>> wrote:

David,

What is the actual fully qualified path to the file on the IFS that
you
want to view? That means please specify it with the leading slash,
and
it
should be something you can use EDTF or WRKLNK with that same value
to
view.

Then, show us your HTTP Config. There needs to be a link from one to
the
other. Preferably something that masks the actual path to the file.


Bradley V. Stone
www.bvstools.com <http://www.bvstools.com/>
Need to interface with Braintree with your IBM i? Contact me
<https://www.bvstools.com/contact.html> for more information!

On Fri, Aug 24, 2018 at 12:53 PM David Shirey <info@xxxxxxxxxxxxx>
wrote:

Jon - the message I get is The requested URL
/root/www/wiki/index.php
was not found on this server. I have tried the path without root
and
with
two // in it’s place. Same message.

Rob - Through the HTTP Server Admin tool I can see that I have
WEBSERVER1,
an Apache server, running and listening at 192.168.9.6:80, the path
that
I have been using.




On Aug 24, 2018, at 6:16 AM, web400-request@xxxxxxxxxxxx <mailto:
web400-request@xxxxxxxxxxxx> wrote:

Re: Accessing an IFS file from the Browser

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.




--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.