.htaccess file destroys the FP Extensions

R

rodziewicz1

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?
 
S

Stefan B Rusynko

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

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| 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?
|
 
R

rodziewicz1

Are you saying one of the following:

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?
 
R

rodziewicz1

Sorry, forgot to mention, 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.
 
T

Thomas A. Rowe

Since you have removed your original post and reply, no really has any idea what you are talking
about. Many of us do not keep read messages.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

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