FP 03 on Apache

Q

qwerty

I'm switching a site of mine from IIS to Apache and I plan on not using any FP extensions on the new server (I know I could use the extensions; I just want to try running a site without them). I'm using FP 02, and I'm finding that when I use FP to publish new or changed pages, my .htaccess file gets deleted

Can anyone tell me if FP 03 allows one to upload files in such a way that this won't happen, or will I still need to use a separate FTP client?
 
J

Jack Brewster

qwerty said:
I'm switching a site of mine from IIS to Apache and I plan on not using any FP extensions on the new server (I know I could use the extensions; I just want to try running a site without them). I'm using FP 02, and I'm finding that when I use FP to publish new or changed pages, my .htaccess file gets deleted.

Can anyone tell me if FP 03 allows one to upload files in such a way that this won't happen, or will I still need to use a separate FTP client?

Are the .htaccess files included in your original site, or just on the
server? If the files aren't the same in both locations, it may be that
FP is removing the files .since they're "missing" from the source.

Try copying the .htaccess files to your working site and see if this
fixes the problem.

Please report back if this is helpful.
 
J

JDR

Yes

In FP 03 you can publish files via FTP

When you make your connection to the server, you specify FTP rather than publishing with FP extensions

You would then enter your url ftp://www.yourdomain.com and then the folder you wish to access. For example if your html files are being placed in a "public_html" folder, you could specify that. If you want to access the root, you could leave the folder blank

You then transfer files, just as you would in other FTP clients

JD
*************************
 
Q

qwerty

Thanks. I should probably get the upgrade then

In response to Jack Brewster, FP 02 has in the past given me a message when I publish that, for example, "the file xxx exists on the remote server but not in the current web. Do you want to remove it from the server?" but it didn't do that for the .htaccess. It would just delete it without saying anything.
 
M

Mark Fitzpatrick

In addition to Jack's great advice, don't forget, that once you have a copy
of the .htaccess file in your local site you can set it not to publish. That
way it shouldn't get over-written (well, one can hope anyways) or deleted.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
qwerty said:
I'm switching a site of mine from IIS to Apache and I plan on not using
any FP extensions on the new server (I know I could use the extensions; I
just want to try running a site without them). I'm using FP 02, and I'm
finding that when I use FP to publish new or changed pages, my .htaccess
file gets deleted.
Can anyone tell me if FP 03 allows one to upload files in such a way that
this won't happen, or will I still need to use a separate FTP client?
 
D

David Baxter

Are you certain it is getting deleted?

When I switched from IIS to Linux/Apache, I found that the new server
hides the .htaccess file, for reasons I don't understand. I know it's
there because in FP I can create and edit the file as db.htaccess on my
disk and transfer it to the server and then rename the server version to
..htaccess - as soon as I rename it, it "disappears" but I know it's
there because the custom error page and a redirect that I specified in
..htaccess works...


qwerty said:
I'm switching a site of mine from IIS to Apache and I plan on not
using any FP extensions on the new server (I know I could use the
extensions; I just want to try running a site without them). I'm using
FP 02, and I'm finding that when I use FP to publish new or changed
pages, my .htaccess file gets deleted.
Can anyone tell me if FP 03 allows one to upload files in such a way
that this won't happen, or will I still need to use a separate FTP
client?
 
S

Steve Easton

..htaccess for the "domain" on an apache server "normally" lives in the _vti_bin
with the corresponding .htpasswd file above the root in the .htpasswds folder.
When one is being used to password protect a folder / directory / subweb in
which case it will be in the protected folder, but the related .htpasswd file
will still be above the root.

If there is an .htaccess file in the root, every visitor will be prompted for a
password and user name.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
J

Jack Brewster

qwerty said:
Thanks. I should probably get the upgrade then.

In response to Jack Brewster, FP 02 has in the past given me a message
when I publish that, for example, "the file xxx exists on the remote server
but not in the current web. Do you want to remove it from the server?" but
it didn't do that for the .htaccess. It would just delete it without saying
anything.

Yeah, I ran into the same problem with some files in 2003, as well. There's
an option in the new publishing window that allows you to choose between
updating or synching. There doesn't appear (at first scan) to be an option
to bring back the prompting from FP02.
 
Q

qwerty

No, it's definitely deleting it. I'm not looking for it in FP. I'm going into CPanel on the server, opening the file manager, and looking for it. It's gone, and I have to assume that FP is killing it. Besides, its functionality is gone

But I'm not using .htaccess for password protection, at least not yet. It's in there to run the server-side includes (since I'm not using FP includes anymore) and to tell the server to parse .shtml documents (necessary for SSI) as .htm. I don't have the file on the local site at all. I'm just entering it manually through the file manager on the server

So I guess the thing to do is upgrade to 03 and use it to FTP the new/changed files to the server. If I'm understanding everything correctly here, that should do the trick. And I'm assuming the command for that process would be "update" rather than "synch".
 
D

David Baxter

That would be true if you were using .htaccess for password protection
but I'm not - only for custom error page definition and file
redirection...
 
J

Jack Brewster

Are there multiple .htaccess files in your site, or just one at the root?
If so, try creating a blank file on your local site and marking it as don't
publish. FP should leave it alone on the server since it will see a file in
both locations.

I suggest this method for a single (or few) files so you don't have to do it
dozens of times.

--
Jack Brewster - Microsoft FrontPage MVP

qwerty said:
No, it's definitely deleting it. I'm not looking for it in FP. I'm going
into CPanel on the server, opening the file manager, and looking for it.
It's gone, and I have to assume that FP is killing it. Besides, its
functionality is gone.
But I'm not using .htaccess for password protection, at least not yet.
It's in there to run the server-side includes (since I'm not using FP
includes anymore) and to tell the server to parse .shtml documents
(necessary for SSI) as .htm. I don't have the file on the local site at all.
I'm just entering it manually through the file manager on the server.
So I guess the thing to do is upgrade to 03 and use it to FTP the
new/changed files to the server. If I'm understanding everything correctly
here, that should do the trick. And I'm assuming the command for that
process would be "update" rather than "synch".
 
T

Thomas A. Rowe

File Menu | Publish Web and enter the URL as ftp://ftp.domainname.com or ftp://www.domainname.com


--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


It's still in 02? It's been so long since I've used it I don't remember how to get to it. I'd been
using IE6 for occasional ftping


| FP 02 has built-in FTP capability
 
W

wp

Been there since '98 I believe and still around. '03 has a simpler interface. Not having it would force only FPE, can't sell only on that basis eh? They cover all the bases.
 
W

wp

Or you can just click on remote site and set it up there. (even publish a backup.....somewhere.....by using "file system"


----- Thomas A. Rowe wrote: ----

File Menu | Publish Web and enter the URL as ftp://ftp.domainname.com or ftp://www.domainname.co


--
=============================================
Thomas A. Rowe (Microsoft MVP - FrontPage
WEBMASTER Resources(tm
http://www.ycoln-resources.co
FrontPage Resources, WebCircle, MS KB Quick Links, etc
=============================================
To assist you in getting the best answers for FrontPage support see
http://www.net-sites.com/sitebuilder/newsgroups.as

It's still in 02? It's been so long since I've used it I don't remember how to get to it. I'd bee
using IE6 for occasional ftpin


| FP 02 has built-in FTP capabilit
 

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