PC Review
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
adding an .htaccess file via FP
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
adding an .htaccess file via FP
![]() |
adding an .htaccess file via FP |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Does anyone know how to add/upload an .htaccess file via FrontPage? -
without corrupting the FP extensions. I'm hosted (Godaddy) on a Linux server (using apache I think) with FP extensions enabled. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
I assume you can upload the file in the normal manner through frontpage.
"Ted" <occasionaluse@hotmail.com> wrote in message news:1124312404.655044.252590@g43g2000cwa.googlegroups.com... > Does anyone know how to add/upload an .htaccess file via FrontPage? - > without corrupting the FP extensions. > > I'm hosted (Godaddy) on a Linux server (using apache I think) with FP > extensions enabled. > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
You need to upload it via a FTP application, not FP.
-- ============================================== 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. ============================================== "Andrew Murray" <Noadmurray@SPAMiinet.net.au> wrote in message news:4303c1d5$0$21089$5a62ac22@per-qv1-newsreader-01.iinet.net.au... >I assume you can upload the file in the normal manner through frontpage. > > "Ted" <occasionaluse@hotmail.com> wrote in message > news:1124312404.655044.252590@g43g2000cwa.googlegroups.com... >> Does anyone know how to add/upload an .htaccess file via FrontPage? - >> without corrupting the FP extensions. >> >> I'm hosted (Godaddy) on a Linux server (using apache I think) with FP >> extensions enabled. >> > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
"Ted" <occasionaluse@hotmail.com> wrote in message news:1124312404.655044.252590@g43g2000cwa.googlegroups.com... > Does anyone know how to add/upload an .htaccess file via FrontPage? - > without corrupting the FP extensions. > > I'm hosted (Godaddy) on a Linux server (using apache I think) with FP > extensions enabled. You can use ftp ... just don't overwrite any other file only upload that file. Tina -- http://accessfp.net/ - FrontPage Tutorials http://anyfrontpage.com/ - http://frontpage-ebooks.com/ http://addonfp.com/ - FrontPage Addons http://frontpage-tips.com/ - Weekly FrontPage Tips http://msmvps.com/frontpage/ - FrontPage News & Articles Blog http://frontpage-advice.blogspot.com/ - FrontPage Advice Blog http://artdoodle.com/ - Abstract Pen and Ink Drawings |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Hi thanks...
Okay I've accessed my hosting space using an FTP program... I see an .htaccess file that reads: # -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> Can I add to that file? I have some additional code that I need to include...but since you said not to overwrite anything...and since an ..htaccess already exists, I'm not sure what to do... >From another post someone suggested that I add: RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com RewriteRule (.*) http://www.example.com/$1 [R=301,L] So again, can I just add those lines to the existing .htaccess file created by FP? Thanks |
|
|
|
#6 |
|
Guest
Posts: n/a
|
Yes. Do it this way:
1. using a 3rd party FTP program, set it to unhide all files (list hidden files) 2. find the existing .htaccess installed with the FP extensions on the server, and copy it back to your hard drive 3. APPEND any new lines you want to add to the BOTTOM of the .htacess file 4. FTP it back to the server (root directory) "Ted" <occasionaluse@hotmail.com> wrote in message news:1124312404.655044.252590@g43g2000cwa.googlegroups.com... > Does anyone know how to add/upload an .htaccess file via FrontPage? - > without corrupting the FP extensions. > > I'm hosted (Godaddy) on a Linux server (using apache I think) with FP > extensions enabled. > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
Do you have a web masters CPanel ??
If so, you can edit the .htaccess file via the File Manager utility. -- Steve Easton Microsoft MVP FrontPage 95isalive This site is best viewed.................. ...............................with a computer "Ted" <occasionaluse@hotmail.com> wrote in message news:1124312404.655044.252590@g43g2000cwa.googlegroups.com... > Does anyone know how to add/upload an .htaccess file via FrontPage? - > without corrupting the FP extensions. > > I'm hosted (Godaddy) on a Linux server (using apache I think) with FP > extensions enabled. > |
|
|
|
#8 |
|
Guest
Posts: n/a
|
Thanks...that worked
![]() |
|
|
|
#9 |
|
Guest
Posts: n/a
|
Oops...spoke to soon. It actually did work...in that I if someone typed
mysite.com they were redirected to www.mysite.com That part was fine...but when I went back to FP to work on the site upload...i got an error msg about FP extensions not being installed or something...then I renamed the .htaccess file to .htaccess1, tried again, and I could upload again - but of course the redirect thing now doesn't work... Any ideas? Here's the code that I have in the .htaccess file: # -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.sobbi.com AuthUserFile /var/chroot/home/content/r/a/n/randyusa/html/_vti_pvt/service.pwd AuthGroupFile /var/chroot/home/content/r/a/n/randyusa/html/_vti_pvt/service.grp RewriteEngine On RewriteCond %{HTTP_HOST} ^mysite.com RewriteRule (.*) http://www.mysite.com/$1 [R=301,L] I uploaded it via an FTP program as suggested. Thanks |
|
|
|
#10 |
|
Guest
Posts: n/a
|
I'm not certain about this because I have not tried to use mod_rewrite.
However, I was told by someone else that mod_rewrite will not work for some reason on a site with FP extensions installed. The informant did not know why but claimed he had been trying to do this for some time and had been inquiring in various FP and SEO and other tech forums and was getting that answer. The method I use does work for other .htaccess commands though, including redirects. "Ted" <occasionaluse@hotmail.com> wrote in message news:1124409986.385480.258850@g43g2000cwa.googlegroups.com... > Oops...spoke to soon. It actually did work...in that I if someone typed > mysite.com they were redirected to www.mysite.com > > That part was fine...but when I went back to FP to work on the site > upload...i got an error msg about FP extensions not being installed or > something...then I renamed the .htaccess file to .htaccess1, tried > again, and I could upload again - but of course the redirect thing now > doesn't work... > > Any ideas? > > Here's the code that I have in the .htaccess file: > > # -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.sobbi.com > AuthUserFile > /var/chroot/home/content/r/a/n/randyusa/html/_vti_pvt/service.pwd > AuthGroupFile > /var/chroot/home/content/r/a/n/randyusa/html/_vti_pvt/service.grp > > RewriteEngine On > RewriteCond %{HTTP_HOST} ^mysite.com > RewriteRule (.*) http://www.mysite.com/$1 [R=301,L] > > I uploaded it via an FTP program as suggested. > > Thanks > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 


