chmod .htaccess and create a setup file problem

masboyCom

Joined: 2002-08-31
Posts: 6
Posted: Sat, 2002-08-31 09:00

This is the quote from README.txt :

------------------------------------------------
The easiest way to do this is to create an empty file (we'll call it
"empty-file") on your local machine. Then upload that file as both
"config.php" and ".htaccess" in your gallery directory using ftp.
ONLY DO THIS THE FIRST TIME you install Gallery or you'll overwrite
your existing config file!

YOU TYPE:
put empty-file config.php

YOU SEE:
local: empty-file remote: config.php
150 Opening BINARY mode data connection for 'config.php'.
226 Transfer complete.

YOU TYPE:
put empty-file .htaccess

YOU SEE:
local: empty-file remote: config.php
150 Opening BINARY mode data connection for '.htaccess'.
226 Transfer complete.

At this point, you need to make both of these files writable. You
can do this (in the gallery directory)

chmod 777 .htaccess
chmod 777 config.php
chmod 755 setup

Now you're all set to configure gallery so go to the Gallery web
page. When you're done and it prompts you to make the gallery secure
again, you need to change your permissions back again:

chmod 644 config.php
chmod 644 .htaccess
chmod 0 setup
------------------------------------------------

my questions are :
*) How to create that setup file ? is it the same step when I create config.php ??
*) How to chmod 644 .htaccess, while I dont even see that .htaccess in my WS_FTP.
I did check the option "Show Full Folder Information".

Anybody can help me out here ? Please.... :???:

<!-- BBCode Start --><A HREF="http://www.masboy.com" TARGET="_blank">+++ MasboyCom +++</A><!-- BBCode End -->

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Sat, 2002-08-31 10:24

setup is a directory not a file.
not sure why you can't see the .htaccess.
I tried it with wsftp and it shows up fine.
you can try using the manual execute option in wsftp
to see if that works, something like 'SITE CHMOD 0644 .htaccess'
may do it.
or you can try another ftp client, dos ftp is a good choice :wink:

 
masboyCom

Joined: 2002-08-31
Posts: 6
Posted: Sat, 2002-08-31 18:09
Quote:
you can try using the manual execute option in wsftp
to see if that works, something like 'SITE CHMOD 0644 .htaccess'
may do it.

thanks for the quick respond, it might sounds dumb....but I dont know how to do a manual execute in WS_FTP. :cry: Thanks again.