On Jan 24, 2012, at 1:00 PM, web400-request@xxxxxxxxxxxx wrote:

Just for the record ...

The original config I attempted actually is correct i.e.

ScriptAlias /restsrv1 /qsys.lib/partner400.lib/restsrv1.pgm
<Directory /qsys.lib/partner400.lib>
Order Allow,Deny
Allow From All
</Directory>

So neither ScriptAliasMatch or the trailing / were needed.

In the end I started a brand new config with pretty much nothing except this in it and it works fine. Which reaffirmed one lesson and taught me another:

1) If it is in instructions written by Scott K it is probably right

2) Apache doesn't apparently always process things in the sequence they are written. I haven't fully debugged the original problem but it appears that even though this directive was first of a series another was taking precedence somehow. When I have time I'll dig through the mess but for now I have a working rest service and all is well with my world!


Jon Paris

www.partner400.com
www.SystemiDeveloper.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.