Forum Moderators: phranque

Message Too Old, No Replies

Need workaround for SSI with a Front Page site

         

Marcia

9:09 am on May 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't want .shtml pages, just .htm or .html for the extra pages I do and put up. I tried to add the file types in .htaccess and it disabled the site temporarily - so it had to come out.

Also, if there are includes to be used for tracking, which has to be installed because the host's Webalizer gives ONLY the last 20 and no spider info, everything will be messed up for the rest of the site, which is all .htm and I don't mess with those yet.

No joy from the tech support people at this host, they don't answer any email. Obviously I wouldn't even try a redirect if needed, which might need to be done. Any workaround for this, or can .htaccess not be used at all with Front Page Extensions installed?

Bran

9:18 am on May 10, 2002 (gmt 0)

10+ Year Member



Marcia - did you get a Server 500 error?

I got this when adding .htaccess on one of my sites - apparently it needed some file configured for htaccess which the host duly did and then it worked fine.

Marcia

9:31 am on May 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Bran, I didn't even do anything with it, just added the filetypes in htaccess same as with "normal" sites.

>which the host duly did and then it worked fine

There are some items in htaccess which are for FP, but the host doesn't answer email so I'll have to do without them altogether.

Are you using Front Page on the site also? This one's got FP and Miva shopping cart.

incywincy

10:54 am on May 10, 2002 (gmt 0)

10+ Year Member



do you have access to webalizer's config file? if so you can reconfigure it for what you want

Vishal

11:22 am on May 10, 2002 (gmt 0)

10+ Year Member



Marcia I am using frontpage for few of my sites and am still able to use ssi on htm and html pages. Below is the code, I hope it will help you.

-------------- Code Below -----------------

# -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 www.domainname.com
AuthUserFile /home/user/general_html/_vti_pvt/service.pwd
AuthGroupFile /home/user/general_html/_vti_pvt/service.grp

AddType text/html .html
AddHandler server-parsed .html
AddHandler server-parsed .htm

-------------- Code Above -----------------

wilderness

11:29 am on May 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Marica,
If the FP site is a FP "published" site?
You cannot edit the htaccess EXCEPT through FP.
Editing a FP "Published" htaccess corrupts the FP settings.
In FP you have either one (published) or the other (non-published) not a mixture of both.

There was some extensive clarification on this in a Webmmasterworld group. Sorry I don't recall which or what the subject concerned.

Vishal

1:40 pm on May 10, 2002 (gmt 0)

10+ Year Member



You cannot edit the htaccess EXCEPT through FP.

I am not sure if I would 100% agree with that. I publish my sites using frontpage, but also use FTP software when required. I use SmartFTP (FreeWare) and edit .htaccess file with it.

It has worked for me :)

Vishal