|
Send WEB400 mailing list submissions to
web400@xxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/web400
or, via email, send a message with subject or body 'help' to
web400-request@xxxxxxxxxxxx
You can reach the person managing the list at
web400-owner@xxxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of WEB400 digest..."
*** NOTE: When replying to this digest message, PLEASE remove all text unrelated to your reply and change the subject line so it is meaningful.
Today's Topics:
1. Re: R: Re: external CSS style sheets problem (Bradley Stone)
2. Re: R: Re: external CSS style sheets problem (Kevin Turner)
3. Re: R: Re: external CSS style sheets problem (Bradley Stone)
4. Fw: IBM Navigator for i No Longer Redirecting to port 2005
(2017.01.30) (Rob Berendt)
----------------------------------------------------------------------
message: 1
date: Mon, 30 Jan 2017 08:50:40 -0600
from: Bradley Stone <bvstone@xxxxxxxxx>
subject: Re: [WEB400] R: Re: external CSS style sheets problem
I was referring to this:
GET http://192.168.50.6:8017/cgi-bin/mobile.css [HTTP/1.1 404 Not
Found 10ms]
That's the problem with copying things and not taking the time to learn how
things work. I think my first eRPG book is only a few bucks now. There's
a lot of good material in there for beginning to learn CGI. Just ignore
the CERN webserver stuff. :) Yes, it's that old..
Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any Cloud
Provider!
On Mon, Jan 30, 2017 at 8:42 AM, Kevin Turner <kevin.turner@xxxxxxxxxxxxxx>
wrote:
He isn't deliberately looking in cgi-bin, he is wondering why Apache is
treating "mobile.css" as being in cgi-bin. I tried to explain that in my
previous post.
[https://www.netcracker.com/assets/img/netcracker-social-final.png] ?
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Bradley
Stone
Sent: 30 January 2017 14:39
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] R: Re: external CSS style sheets problem
You sholdn't be looking in cgi-bin for CSS. That's for CGI applications.
Put your CSS back in /www/articles/htdocs/css
Then reference your CSS using href="/css/mobile.css"
Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any
Cloud Provider!
On Mon, Jan 30, 2017 at 8:25 AM, gio.cot <gio.cot@xxxxxxxxxxx> wrote:
Hiand
I try to clarify all
1) In my first post I said that the folder structure in IFS was :
www
..articles
...CSS
.....mobile.css
...htdocs
.....mobileorder.html
And that in my html, I had : <link rel="stylesheet" type="text/css"
href="/articles/CSS/mobile.css">
2) Then after Booth Martin suggestion i moved mobile.css in htdocs
modified html to <link rel="stylesheet" type="text/css"5ms "
href="mobile.css">
3) After the point 2, I said that:
"After your suggestion, now in preview it works, but when I run it in
the browser in see this error :
" <http://192.168.xx.z:Myport/cgi-bin/mobile.css>
http://192.168.xx.z:Myport/cgi-bin/mobile.css HTTP/1.1 404 Not Found
--
Note "/cgi-bin/mobile.css" , it seems that when look for mobile.css, it
use the "ScriptAlias /cgi-bin/ /QSYS.LIB/ARTICLES.LIB/" HTTP directive
and pheraps it search in /QSYS.LIB/ARTICLES.LIB ?
So, NOW I have this scenario
folder structure in IFS:
www
..articles
...CSS
...htdocs
.....mobile.css
.....mobileorder.html
And in the HTML <link rel="stylesheet" type="text/css"
href="mobile.css">
My DocumentRoot is /www/articles/htdocs
These the Apache directive
<Directory />
Order Deny,Allow
Deny From all
</Directory>
<Directory /QSYS.LIB/ARTICLES.LIB>
Order Allow,Deny
Allow From all
</Directory>
<Directory /www/articles/htdocs>
Order Allow,Deny
Allow From all
</Directory>
ScriptAlias /cgi-bin/ /QSYS.LIB/ARTICLES.LIB/
Alias /articles/ /articles/
And if I use Firefox developer tool , in the console I see
GET http://192.168.50.6:8017/cgi-bin/mobile.css [HTTP/1.1 404
Not
Found 10ms]
Sorry for the confusion, now I hope is clearer
Thanks all
--
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: 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 IBM i (AS/400 and 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.
________________________________
The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential, proprietary
and/or privileged material. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from any computer.
--
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: 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.
------------------------------
message: 2
date: Mon, 30 Jan 2017 14:57:07 +0000
from: Kevin Turner <kevin.turner@xxxxxxxxxxxxxx>
subject: Re: [WEB400] R: Re: external CSS style sheets problem
Yes so was I :) You have come late to the party and probably missed the background.
The HTML says href="mobile.css" so he isn't deliberately looking in CGI-BIN or making reference to it. Apache is doing that (due to other directives in the config) so his question is:
"why, when I reference 'mobile.css' in my HTML, does Apache try to look in '/cgi-bin/mobile.css'.
It is because the current location at the time is "cgi-bin"....so he just needs to change href="mobile.css" to href="/mobile.css" OR, as you suggested, put it in a css specific subfolder and refer to that with a leading "/" instead.
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Bradley Stone
Sent: 30 January 2017 14:51
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] R: Re: external CSS style sheets problem
I was referring to this:
GET http://192.168.50.6:8017/cgi-bin/mobile.css [HTTP/1.1 404 Not
Found 10ms]
That's the problem with copying things and not taking the time to learn how things work. I think my first eRPG book is only a few bucks now. There's a lot of good material in there for beginning to learn CGI. Just ignore the CERN webserver stuff. :) Yes, it's that old..
Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any Cloud Provider!
On Mon, Jan 30, 2017 at 8:42 AM, Kevin Turner <kevin.turner@xxxxxxxxxxxxxx>
wrote:
He isn't deliberately looking in cgi-bin, he is wondering why Apache is--
treating "mobile.css" as being in cgi-bin. I tried to explain that in my
previous post.
[https://www.netcracker.com/assets/img/netcracker-social-final.png] ?
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Bradley
Stone
Sent: 30 January 2017 14:39
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] R: Re: external CSS style sheets problem
You sholdn't be looking in cgi-bin for CSS. That's for CGI applications.
Put your CSS back in /www/articles/htdocs/css
Then reference your CSS using href="/css/mobile.css"
Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any
Cloud Provider!
On Mon, Jan 30, 2017 at 8:25 AM, gio.cot <gio.cot@xxxxxxxxxxx> wrote:
Hiand
I try to clarify all
1) In my first post I said that the folder structure in IFS was :
www
..articles
...CSS
.....mobile.css
...htdocs
.....mobileorder.html
And that in my html, I had : <link rel="stylesheet" type="text/css"
href="/articles/CSS/mobile.css">
2) Then after Booth Martin suggestion i moved mobile.css in htdocs
modified html to <link rel="stylesheet" type="text/css"5ms "
href="mobile.css">
3) After the point 2, I said that:
"After your suggestion, now in preview it works, but when I run it
in the browser in see this error :
" <http://192.168.xx.z:Myport/cgi-bin/mobile.css>
http://192.168.xx.z:Myport/cgi-bin/mobile.css HTTP/1.1 404 Not Found
--
Note "/cgi-bin/mobile.css" , it seems that when look for mobile.css, it
use the "ScriptAlias /cgi-bin/ /QSYS.LIB/ARTICLES.LIB/" HTTP
directive and pheraps it search in /QSYS.LIB/ARTICLES.LIB ?
So, NOW I have this scenario
folder structure in IFS:
www
..articles
...CSS
...htdocs
.....mobile.css
.....mobileorder.html
And in the HTML <link rel="stylesheet" type="text/css"
href="mobile.css">
My DocumentRoot is /www/articles/htdocs
These the Apache directive
<Directory />
Order Deny,Allow
Deny From all
</Directory>
<Directory /QSYS.LIB/ARTICLES.LIB>
Order Allow,Deny
Allow From all
</Directory>
<Directory /www/articles/htdocs>
Order Allow,Deny
Allow From all
</Directory>
ScriptAlias /cgi-bin/ /QSYS.LIB/ARTICLES.LIB/
Alias /articles/ /articles/
And if I use Firefox developer tool , in the console I see
GET http://192.168.50.6:8017/cgi-bin/mobile.css [HTTP/1.1 404
Not
Found 10ms]
Sorry for the confusion, now I hope is clearer
Thanks all
--
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: 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 IBM i (AS/400 and iSeries) (WEB400)
mailing list To post a messa (AS/400 and 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.
________________________________
The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential,
proprietary and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please contact
the sender and delete the material from any computer.
--
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: 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 IBM i (AS/400 and 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.
________________________________
The information transmitted herein is intended only for the person or entity to which it is addressed and may contain confidential, proprietary and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
------------------------------
message: 3
date: Mon, 30 Jan 2017 09:02:22 -0600
from: Bradley Stone <bvstone@xxxxxxxxx>
subject: Re: [WEB400] R: Re: external CSS style sheets problem
Quite a party it was I see looking back!
For me, I "always" use paths starting with a /. It removes all the
confusion, well, after you understand that it's still a virtual path set by
the apache server.
I hate no front slash in almost anything. I hate ../.../... even WORSE!
So my advice, go back the the beginning and use front slashes, put your CSS
it it's own folder under the Document root, and instead of just copying
source, learn what it does (or is supposed to do).
Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any Cloud
Provider!
On Mon, Jan 30, 2017 at 8:57 AM, Kevin Turner <kevin.turner@xxxxxxxxxxxxxx>
wrote:
Yes so was I :) You have come late to the party and probably missed the
background.
The HTML says href="mobile.css" so he isn't deliberately looking in
CGI-BIN or making reference to it. Apache is doing that (due to other
directives in the config) so his question is:
"why, when I reference 'mobile.css' in my HTML, does Apache try to look in
'/cgi-bin/mobile.css'.
It is because the current location at the time is "cgi-bin"....so he just
needs to change href="mobile.css" to href="/mobile.css" OR, as you
suggested, put it in a css specific subfolder and refer to that with a
leading "/" instead.
------------------------------
message: 4
date: Mon, 30 Jan 2017 12:43:15 -0500
from: Rob Berendt <rob@xxxxxxxxx>
subject: [WEB400] Fw: IBM Navigator for i No Longer Redirecting to
port 2005 (2017.01.30)
This is important, and a recent thread on midrange-l.
Basically a big change on how http://youribmi:2001 works.
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
----- Forwarded by Rob Berendt/DEKKO on 01/30/2017 12:43 PM -----
From: IBM My Notifications <mynotify@xxxxxxxxxxxxxxxxxxxx>
To: rob@xxxxxxxxx
Date: 01/30/2017 12:29 PM
Subject: IBM Navigator for i No Longer Redirecting to port 2005
(2017.01.30)
My Notifications for IBM i - 30 Jan 2017
Dear Subscriber (robberendt),
Here are your updates from IBM My Notifications.
Check out the IBM Support beta
- https://ibm.biz/support-pilot
Your support Notifications display in English by default. Machine
translation based on your IBM profile
language setting is added if you specify this option in Delivery
preferences within My Notifications.
(Note: Not all languages are available at this time, and the English
version always takes precedence
over the machine translated version.)
------------------------------------------------------------------------------
1. IBM i 7.3
- TITLE: IBM Navigator for i No Longer Redirecting to port 2005
- URL:
http://www.ibm.com/support/docview.wss?uid=nas8N1021835&myns=ibmi&mynp=OCSSTS2D&mynp=OCSSC5L9&mynp=OCSSC52E&mynp=OCSWG60&mync=E&cm_sp=ibmi-_-OCSSTS2D-OCSSC5L9-OCSSC52E-OCSWG60-_-E
- ABSTRACT: After the release of the December HTTP Group ptf, IBM
Navigator for i is no longer redirecting to port 2005.
------------------------------------------------------------------------------
Manage your My Notifications subscriptions, or send questions and
comments.
- Subscribe or Unsubscribe - https://www.ibm.com/support/mynotifications
- Feedback -
https://www-01.ibm.com/support/feedback/techFeedbackCardContentMyNotifications.html
- Follow us on Twitter - https://twitter.com/IBM_i_eSupp
To ensure proper delivery please add mynotify@xxxxxxxxxxxxxxxxxxxx to your
address book.
You received this email because you are subscribed to IBM My Notifications
as:
robberendt
Please do not reply to this message as it is generated by an automated
service machine.
(C) International Business Machines Corporation 2017. All rights reserved.
------------------------------
Subject: Digest Footer
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) digest 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.
------------------------------
End of WEB400 Dige
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.