Forum Moderators: phranque

Message Too Old, No Replies

.htaccess and frontpage.

problem I cant get around....

         

IntegraGsrBalla

11:53 am on Jun 11, 2005 (gmt 0)

10+ Year Member



Here is the problem...

I am using frontpage as my html editor.

I have a forum website and I just added a new forum mod that needs to use the .htaccess file to work successfully.

I need to edit the .htaccess file in frontpage but I cant find it!

I can edit it using CPanel - but the frontpage extensions get broken every time I do this! If I re-install the extensions, the htaccess file gets erased and set to a default.

I would like to edit the htaccess file via frontpage but cant find it.

I try to create my own htaccess file using frontpage but it wont let me. It wont let me rename any file to .htaccess

Is there a way to edit the .htaccess file in frontpage?

If I edit the htaccess file in any other program the frontpage extensions get broke and I can no longer edit my site via fronpage. Its like a never ending cycle!

I keep having to re-install the extensions (but then the htaccess file gets erased!)

If anyone knows how to find my htaccess file using frontpage - please help...

Or if anyone knows a way to get around this - that would be good too.

Dapuzz

12:38 pm on Jun 11, 2005 (gmt 0)

10+ Year Member



I don't know if frontpage can see hidden files but you can try to save it whith the double quotes - Ex: ".htaccess" or to save as htaccess and rename it using your ftp program.

IntegraGsrBalla

12:48 pm on Jun 11, 2005 (gmt 0)

10+ Year Member



If I rename it using my FTP program - the frontpage extensions still get broke.

I am using the ReWriteEngine Rule on it. Im not sure if its because of that (others have said it caused problems with their extensions).

RewriteEngine On
RewriteRule ^forums.* index.php [L,NC]
RewriteRule ^post-([0-9]*).html&highlight=([a-zA-Z0-9]*) viewtopic.php?p=$1&highlight=$2 [L,NC]
RewriteRule ^post-([0-9]*).* viewtopic.php?p=$1 [L,NC]
RewriteRule ^view-poll([0-9]*)-([0-9]*)-([a-zA-Z]*).**
and so on...

jdMorgan

2:58 pm on Jun 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Frontpage extensions and mod_rewrite are not compatible. See this recent thread [webmasterworld.com].

Jim