Jump to content

Using Apache redirects to load IWP home page


This topic is 6110 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi all,

I set up IWP on Filemaker Server 9 Advanced, running on OS X Server 10.4, and it serves pages just fine. Now, I'd like users to be able to type in the domain name (let's say www.example.com) and be redirected automatically to the IWP database URL -- www.example.com/fmi/iwp/cgi?-db=database_name&-loadframes.

I've figured out how to do this using a META tag in an index.html document at the Apache site's root folder, but I'd rather use an Apache Redirect or RedirectMatch command via an .htaccess file or via the Server Admin site setup screen. I've tried redirecting / to the above URL but it doesn't work: it gets into an endless loop of redirects that eventually gives a browser error.

For example, if I redirect / to www.example.com/fms/iwp, the browser loads www.example.com/fms/iwpfms/iwpfms/iwpfms/iwpfms/iwp... on and on until it fails.

What's the correct way to get this working?

Thanks!

nb

Link to comment
Share on other sites

This topic is 6110 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.