[ic] httpd.conf settings? Please help..

Steve & Patti Getzinger steveandpatti@wubs.org
Thu, 03 May 2001 14:50:45 -0500


Here is what you want:

    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
    RewriteEngine On  
    RewriteRule    ^$      /cgi-bin/demo/index.html     [PT,L]
    RewriteRule    ^/$     /cgi-bin/demo/index.html     [PT,L]
    RewriteRule    ^/index\.html$       /cgi-bin/demo/index.html   
[PT,L]
    RewriteRule    ^/cgi-bin/demo/.*   -        [PT,L]
    RewriteRule     ^/.*images/.*   -       [PT,L]
    RewriteRule    ^/(.*)      /cgi-bin/demo/$1 [PT,L]

Add this between your <virtualhost> tags for that domain name. Replace
demo with your cat name. You are welcome and as I stated earlier it is
in the archives.

Steve

Marco Mescoli wrote:
> 
> >
> > I'm using RH linux 7.0, Apache, with the latest stable interchange engine.
> >
> > My WebDoc root is set to /var/www/html. When I type in
> > 'www.machinerunner.com' - (DNS is not set yet but is set locally for me in
> > my etc/hosts file) - it doesnt take me directly to the
> > var/lib/interchange/mr/pages/index.html file, which is where i want to go.
> > I try to link from my /var/www/html/index.html, but i get a permissions
> > error. I am running my interchange as interch.  The Apache
> > Redirect Directive doesnt seem to get me anywhere either.
> 
> The problem is Apache web server. Look at conf file
> /etc/httpd/conf/httpd.conf
> and verify permission on /var/www/html/index.html. When Apache daemon answer
> then from this file make link to cgi-bin executable to lead your clients to
> IC pages.
> 
> _____________________________
> Marco Mescoli
> Omnibit piccola scrl,
> Italy, Modena via Emilia ovest n.101
> Tel, Fax +39-059-828278
> http://www.omnibit.nu
> 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users

-- 
=========================================================
  WDI                          Steve & Patti Getzinger
  702 Lincolnway West          steveandpatti@wubs.org
  South Bend, IN  46616        http://www.wubs.org/
  219-287-4700 (Main Office)   317-535-0239 (Direct Line)
=========================================================