htaccess file is destroying the FrontPage extensions

R

rodziewicz1

Sorry for duplicate post. Thomas A. Rowe said he could not view my
original post when I posted about this again. Se here is the post
again, as I am still seeking a resolution and sorry the post is
lengthy:

Quote

My website is available at http://domain.com with a Google PR of 3 and
at http://www.domain.com with a PR of 5. Since I wanted to consolidate

PR, I decided to redirect everything to the www domain using
mod_rewrite. My host is very helpful and had previously set-up the
following for me:

1) Visitor types in www.domain.com/nosuchpage and server sends visitor

to custom 404 error page. Visitor types in www.domain.com/realpage and

server sends visitor to realpage.html if it exists.

2) My host then set it up so that additionally http://domain.com
redirected correctly to www.domain.com. Both 1) and 2) worked just
fine until I discovered I couldn't upload or view my pages remotely
with FP2000.

Turns out the new .htaccess file had overwritten the FP extensions and
I was advised to "repair" these from within the hsphere control
panel, which I did. Upload was now no problem, but 1) and 2) had
stopped working!

Host sent me code for the .htaccess file, which I uploaded via ftp
directly to the root of the website and yes, I had to again repair FP
because I had no upload and yes, this repair wiped the .htaccess file.
Reluctantly I had to take the decision to put everything back to its
initial stage (with the duplicate domain problem) and host told me
which bit of the .htaccess file to delete and to upload. 1) works fine

now but of course I don't have 2).

The .htaccess file which works for both 1) and 2) and overwrites the
extensions is as follows:

# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mydomain.com
AuthUserFile
/hsphere/local/home/wimbledo/domain.com/_vti_pvt/service.pwd
AuthGroupFile
/hsphere/local/home/wimbledo/domain.com/_vti_pvt/service.grp
ErrorDocument 404 /404.php
RewriteEngine on
RewriteCond %{HTTP_HOST} ^xxxx\.com [NC]
RewriteRule ^(.*)$ http://www.xxxx.com/$1 [L,R=301]

The .htaccess file which works fine for only 1) above and which does
not overwrite the FP extensions is the above with everything deleted
after "ErrorDocument 404 /404.php". So surely it is the bit which
is supposed to solve domain redirection which is causing the wiping of
the FP extensions.

Is there a fix for this?

Stefan B. Rusynko advised: Contact RTR which supports the FP SE for Non
Windows platforms that use .htaccess
http://www.rtr.com/fpsupport/index.asp

and I answered:

Are you saying one of the following:

I visited the RTR URL suggested and as a community website, at$245.00
per hour with a 1 hour minimum, I can't afford to go down that route

1) What I am trying to achieve is not possible using FrontPage because
I am not on Windows hosting

2) Can I achieve what I want if I buy hosting on Windows platform?
3) Can I achieve what I want more easily if I use an editor other than
FP, i.e., one that does not require the FP extensions?
 
S

Steve Easton

You don't need to mess with the .htaccess file in order for
http://www.domain.com and http://domain.com to point to the same place

Go into your domain manager and make sure both are entered into your primary
and secondary DNS servers, and then wait 24 to 48 hours.

And yes using FTP on an extended server will break the extensions, and
repairing the extensions re-writes the .htaccess file.

However if you must modify the .htaccess file, the proper way is via the
web masters control panel, file administrator.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer




Sorry for duplicate post. Thomas A. Rowe said he could not view my
original post when I posted about this again. Se here is the post
again, as I am still seeking a resolution and sorry the post is
lengthy:

Quote

My website is available at http://domain.com with a Google PR of 3 and
at http://www.domain.com with a PR of 5. Since I wanted to consolidate

PR, I decided to redirect everything to the www domain using
mod_rewrite. My host is very helpful and had previously set-up the
following for me:

1) Visitor types in www.domain.com/nosuchpage and server sends visitor

to custom 404 error page. Visitor types in www.domain.com/realpage and

server sends visitor to realpage.html if it exists.

2) My host then set it up so that additionally http://domain.com
redirected correctly to www.domain.com. Both 1) and 2) worked just
fine until I discovered I couldn't upload or view my pages remotely
with FP2000.

Turns out the new .htaccess file had overwritten the FP extensions and
I was advised to "repair" these from within the hsphere control
panel, which I did. Upload was now no problem, but 1) and 2) had
stopped working!

Host sent me code for the .htaccess file, which I uploaded via ftp
directly to the root of the website and yes, I had to again repair FP
because I had no upload and yes, this repair wiped the .htaccess file.
Reluctantly I had to take the decision to put everything back to its
initial stage (with the duplicate domain problem) and host told me
which bit of the .htaccess file to delete and to upload. 1) works fine

now but of course I don't have 2).

The .htaccess file which works for both 1) and 2) and overwrites the
extensions is as follows:

# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mydomain.com
AuthUserFile
/hsphere/local/home/wimbledo/domain.com/_vti_pvt/service.pwd
AuthGroupFile
/hsphere/local/home/wimbledo/domain.com/_vti_pvt/service.grp
ErrorDocument 404 /404.php
RewriteEngine on
RewriteCond %{HTTP_HOST} ^xxxx\.com [NC]
RewriteRule ^(.*)$ http://www.xxxx.com/$1 [L,R=301]

The .htaccess file which works fine for only 1) above and which does
not overwrite the FP extensions is the above with everything deleted
after "ErrorDocument 404 /404.php". So surely it is the bit which
is supposed to solve domain redirection which is causing the wiping of
the FP extensions.

Is there a fix for this?

Stefan B. Rusynko advised: Contact RTR which supports the FP SE for Non
Windows platforms that use .htaccess
http://www.rtr.com/fpsupport/index.asp

and I answered:

Are you saying one of the following:

I visited the RTR URL suggested and as a community website, at$245.00
per hour with a 1 hour minimum, I can't afford to go down that route

1) What I am trying to achieve is not possible using FrontPage because
I am not on Windows hosting

2) Can I achieve what I want if I buy hosting on Windows platform?
3) Can I achieve what I want more easily if I use an editor other than
FP, i.e., one that does not require the FP extensions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top