Mike,

Never ever, ever, ever, ever, ever, ever, ever, ever, ever, ever, ever, ever, 
ever, ever, ever, ever, ever, ever, ever, ever, ever, ever, ever, ever, ever, 
ever, ever, ever, ever, ever, ever, ever use the Migration Wizard. It will 
cause you nothing but headaches. Can you tell I don't like it? I think you just 
found out why.

It's much better to read up on how to configure the server and then build one 
using a sane set of directives. The documentation at http://httpd.apache.org is 
pretty good (make sure you look at the version 2.0 docs) and you may want to 
download a copy of it just for the default httpd.conf which is full of 
excellent comments. Also, the book "Professional Apache 2.0" is most excellent. 
It not only covers how to do things but it also covers why you would want to 
configure things in a certain way (there's more than one way to do almost 
everything).

Anyway, here's an example of what I use:

ScriptAlias /db2www/ /qsys.lib/cgibin.lib/db2www.pgm/
<Directory /qsys.lib/cgibin.lib>
   order allow,deny
   allow from all
</Directory>

You can also use something along the lines of:

Alias /db2www/ /qsys.lib/cgibin.lib/db2www.pgm/
<Directory /qsys.lib/cgibin.lib>
   order allow,deny
   Options +ExecCGI
   allow from all
</Directory>

but I like the first one better.

Matt

-----Original Message-----
From: Mike Cunningham [mailto:MCUNNING@xxxxxxx]
Sent: Thursday, January 13, 2005 12:26 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Apache config for running net.data applications


Does anyone have a barebones Apache config that does nothing but run
net.data macros they would be willing to share ?  We have an original
server doing this now and when we run the migration tool the Apache
server gives us authorization errors on all of our macros. The net.data
macros do some direct SQL but others do calls to CL and RPG programs.
 
Thanks
_______________________________________________
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.



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