Cheap Loan - Cheap Car Insurance - Halifax - Magazine Subscriptions - Debt Consolidation

PDA

View Full Version : .htaccess - Front Page and mod rewrite


macdesign
Dec 20th 2004, 1:45 pm
I have a bit of a hack going on, which has taken me several hours to work around.

I have a combination of Front Page and .PHP and mod rewrite

If the .htacess file is set as originall created for the site with plain FP, then I can use FP to upload the sites pages, but then the site will not work since I need the mod rewrite.

If I add the mode rewrite, then FP won't update the site - so I have to keep switching back and forth with two different versions of .htacess


I have

# -FrontPage-

RewriteEngine On
RewriteBase /
RewriteRule et.etc.etc. ....

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all Is there a better way to order this so that FP will accept it, and mod rewrite still works?

flawebworks
Dec 20th 2004, 4:55 pm
Try putting your custom stuff under the fp stuff.

macdesign
Dec 20th 2004, 6:17 pm
That's what I thought and that's what this site says ==: http://flawebworks.com/frontpage/frontpagehtaccessfile.htm

But I get

Page Not Found
Page Not Found
The page you tried to access does not exist on this server. This page may not exist due to the following reasons:
You are the owner of this web site and you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, click here for FTP Upload Information.
The URL that you have entered in your browser is incorrect. Please re-enter the URL and try again.
The Link that you clicked on incorrectly points to this page. Please contact the owner of this web site to inform them of this situation.