• 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: Johan Carlberg <email@hidden>
  • Date: Sat, 6 Aug 2005 00:32:38 +0200

Hi Xavier,

If I understand it correctly, www.site.com/index.html works as expected? If so, then the LoadModule/AddModule stuff seems to be setup correctly for rewrite rules to work together with WebObjects, but not rewrite rules and whichever module it is that handles the index.html substitution for no filename.

You might need a separate rewrite rules for those cases, i.e.

    RewriteRule ^/$ /cgi-bin/WebObjects/Site [PT,L]
    RewriteRule ^/index.html$ /cgi-bin/WebObjects/Site [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).


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

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