|
Not quite. The Apache instance record in QATMHINSTC dictates the root folder for the server
For example, here it would be /myroot:
-apache -d /myroot -f conf/myconf.conf -AutoStartY
You then need to check in
/myroot/conf/myconf.conf
Look for the document root directive. For example
DocumentRoot /myroot/mydocs
So now, if you have
href="styles.css"
then it will look for styles.css in /myroot/mydocs
If you have
href="css/styles.css"
then it will look in /myroot/mydocs/css
etc
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Bob P. Roche
Sent: 17 January 2013 15:15
To: Web Enabling the IBM i (AS/400 and iSeries)
Cc: Web Enabling the AS400 / iSeries; web400-bounces@xxxxxxxxxxxx
Subject: Re: [WEB400] where does apache web server look for css files?
Where you tell it to look?
I think the default folder is HTDOCS if you don't have any special directives for that.
From:
Steve Richter <stephenrichter@xxxxxxxxx>
To:
"Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx>,
Date:
01/17/2013 09:11 AM
Subject:
[WEB400] where does apache web server look for css files?
Sent by:
web400-bounces@xxxxxxxxxxxx
I have an RPG program that reads HTML source from a source member and
writes it to stdout ( QTmhWrStout ).
When the HTML source contains a <link rel="stylesheet"
href="styles.css" /> statement, where will apache look for the
styles.css file?
thanks,
--
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.
NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.
--------------------------------------------------------------------------------
CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
--
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.
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.