• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need help with Tiger, WO and mod_rewrite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with Tiger, WO and mod_rewrite


  • Subject: Re: Need help with Tiger, WO and mod_rewrite
  • From: Dev WO <email@hidden>
  • Date: Sat, 6 Aug 2005 00:34:11 +0200

Thanks Johan,
so the only thing I had different was having an extra:
LoadModule WebObjects_module      /System/Library/WebObjects/Adaptors/Apache/mod_WebObjects.so
just above the
LoadModule mod_rewrite

so I commented it out


But still no luck!!
How is this possible:(

And even with apache debug log, I only get:
"Directory index forbidden by rule"

I can't believe this...

Server for the rest of us...



Hi Xavier,

This is the httpd.conf file.

<httpd.conf>

There are no RewriteRule's are in this file, those are in various site files as there are different rules for each domain (e.g. RewriteRule ^/$ /cgi-bin/WebObjects/Test [PT,L] )

Johan

6 aug 2005 kl. 00.04 skrev Dev WO:
Hi Johan
I've got that actually....
do you mind sending me your httpd.conf file?
so I could check for differences between the 2....I'm really going crazy:( it's midnight here and I'm going to miss the last bus...
sad day

no Thanks to Apple




I had similar trouble when moving to a Tiger server, but managed to solve it.

After lots of trial and error, I ended up with just one added line in the apache config, in addition to moving the WebObjects Include above the LoadModules, as described on Rentzsch's blog.

What I needed to to was to add:

    AddModule mod_WebObjects.c

just before

    AddModule mod_rewrite.c

Then the rewrites of arbitrary URLs to /cgi-bin/WebObjects/... worked again.

Johan

5 aug 2005 kl. 23.04 skrev Dev WO:
Hi list,
I know this should be either on the server mailing list or the deployment mailing list, but I posted to the server and my email didn't even display in the list! Might be a problem with the new mail setup...

So as I'm really into trouble, maybe someone could help:

I've upgraded my server (10.3 fully updated and permission repaired) to Tiger (10.4.2 from 10.4) and I'm having a major problem with my WebObjects applications, apache and mod_rewrite:
I check the sites files and they didn't change (worked before the update).
When I try to connect to www.site.com, I have a rewrite rule that hide the /cgi-... and provide the WO application
This was done by telling apache to load index.html as the default page, then rewrite to WO.
But now, I got a permission error in my web browser!!!
And if I type directly www.site.com/index.html, everything is OK!

I checked the authorization on the site.com and it is 775 on it...

Anyone has such rewrite rule to hide the starting url?

Thanks a lot for your help, I really need it:(

Xavier

PS: I saw the bug concerning the configuration file, so I uncommented the "Include  /System/Library/Web..." line and paste it above the load of mod_rewrite (like Rentzsch's blog).



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Need help with Tiger, WO and mod_rewrite
      • From: Chuck Hill <email@hidden>
References: 
 >Need help with Tiger, WO and mod_rewrite (From: Dev WO <email@hidden>)
 >Re: Need help with Tiger, WO and mod_rewrite (From: Johan Carlberg <email@hidden>)
 >Re: Need help with Tiger, WO and mod_rewrite (From: Dev WO <email@hidden>)

  • Prev by Date: Re: Need help with Tiger, WO and mod_rewrite
  • Next by Date: Re: Need help with Tiger, WO and mod_rewrite
  • Previous by thread: Re: Need help with Tiger, WO and mod_rewrite
  • Next by thread: Re: Need help with Tiger, WO and mod_rewrite
  • Index(es):
    • Date
    • Thread