redirect\Frontpage forms

sonomalinks

Verified User
Joined
Jul 25, 2004
Messages
12
I have noticed using this server, that if people go to http://website.com instead of http://www.website.com, the FrontPage forms ask the user for a password and if they try to continue they do not get into the website.

I am thinking about using the redirect code for the .htaccess

Is there any other fix for this?

Mark
 
That is not a fix, but it is a patch that will work. I have FP extensions installed on a non-DA server and FP works the same for any domain with or without the "www" alias. The is no redirect in the .htaccess file.

I just got DA installed. I will compare the configs. I think FP has a problem with the way DA writes it's virtual host entry. That being said the fp sites I host now all have dedicated ips so I don't know if that plays a role. I will also test a plesk fp install.

DA Support,
You really need to get these FP extension issues corrected. There are tons of people out there who use Front Page and need administration and forms to work correctly. I know FP is flaky, but it works correctly in Alabanza, Plesk, Cpanel and Hsphere from what I have tested.
 
Last edited:
FP forms

Yes, it would be nice if there was a fix with DA instead of applying an .htaccess fix at my website level, because if everyone that I host (that uses FP) has the same problems, I will be very busy with tech support.

Mark
 
rldev said:
That is not a fix, but it is a patch that will work. I have FP extensions installed on a non-DA server and FP works the same for any domain with or without the "www" alias. The is no redirect in the .htaccess file.
Since you've not told us the name of the site, or the page with the form, there's nothing for me to see or comment on.

Jeff
 
Thanks for the examples, Mark.

I didn't try the working one, because I didn't want to send them information.

I don't know why it doesn't work. As I mentioned in another thread, I have little direct experience with FPX, and I posted what I did based on my limited personal experience and on what I've read elsewhere as the explanation.

Perhaps someone else can help you.

Have you contact DA support?

Jeff
 
rewrite or

I found this code for Apache rewrite:

Canonical Hostnames
Description:
The goal of this rule is to force the use of a particular hostname, in preference to other hostnames which may be used to reach the same site. For example, if you wish to force the use of www.example.com instead of example.com, you might use a variant of the following recipe.
Solution:
# For sites running on a port other than 80
RewriteCond %{HTTP_HOST} !^fully\.qualified\.domain\.name [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{SERVER_PORT} !^80$
RewriteRule ^/(.*) http://fully.qualified.domain.name:%{SERVER_PORT}/$1 [L,R]

# And for a site running on port 80
RewriteCond %{HTTP_HOST} !^fully\.qualified\.domain\.name [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://fully.qualified.domain.name/$1 [L,R]



Also, I found this code:

Add this to your zone file for that website:
Code:
www IN CNAME website.com



And this for the .htaccess file:
RewriteEngine on
RewriteCond % {HTTP_HOST } ^website\.com$ [NC]
RewriteRule ^ (.*) $ http://www.website.com/$1[R=301,L]


Here are 3 different codes, not sure at this point which to do.

Mark
 
Back
Top