4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 out of my mind trying to get a .htaccess file working
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
domuk
WebHelper
WebHelper


Joined: 15 Jan 2004
Posts: 91

PostPosted: Thu Jan 15, 2004 8:22 pm (20 years, 3 months ago) Reply with QuoteBack to Top

Hi all,

I am going out of my mind trying to get a .htaccess file working

1) can you use ../../ when specifying the authuserfile?

2) how do you find out your exact server path to use after the authuserfile? I am with Easily.co.uk

3) could someone attach an actual file so I can see the exact spacing and carriage returns (I think I read somewhere that it all has to be on one line)

4) I read in windows xp help file, that when using xp for ftp it defaults to ASCii. Is this true?

5) I have downloaded Apachie but am not sure how to enter the commands to generate the password files. Is there a step by step guide for wooden heads like myself?

6) Can I use the various password / username generators on the web as aposed to Apachie for Easly.co.uk?

Hope you can help,

Thanks in advance,

Dom..........
OfflineView User's ProfileFind all posts by domukSend Personal Message
SfCommand
Senior WebHelper
Senior WebHelper


Joined: 10 Nov 2002
Posts: 143
Location: UK

PostPosted: Fri Jan 16, 2004 12:36 pm (20 years, 3 months ago) Reply with QuoteBack to Top

domuk wrote:
Hi all,

I am going out of my mind trying to get a .htaccess file working

1) can you use ../../ when specifying the authuserfile?

I'm not sure, Possibly

domuk wrote:
2) how do you find out your exact server path to use after the authuserfile? I am with Easily.co.uk

It should be in a FAQ/userguide available at easily
(Depending on which server you are on, it is listed in one of these 3 pages:
http://easily.co.uk/index.php3?exe=faq&sb=n&do=d&group_id=5&id=215
http://easily.co.uk/index.php3?exe=faq&sb=n&do=d&group_id=5&id=216
http://easily.co.uk/index.php3?exe=faq&sb=n&do=d&group_id=5&id=217

domuk wrote:
3) could someone attach an actual file so I can see the exact spacing and carriage returns (I think I read somewhere that it all has to be on one line)

Yes, the username:pass need to be on one line

domuk wrote:
4) I read in windows xp help file, that when using xp for ftp it defaults to ASCii. Is this true?

Again, I'm, not too sure, but for .htpasswd and .htaccess files I don't think it matters (I think they should be uploaded as ascii anyway).

domuk wrote:
5) I have downloaded Apachie but am not sure how to enter the commands to generate the password files. Is there a step by step guide for wooden heads like myself?

I don't think the htpasswd generator is a part of apache, but rather a part of *nix operating systems.

domuk wrote:
6) Can I use the various password / username generators on the web as aposed to Apachie for Easly.co.uk?

Yes, an htpasswd generator is an htpasswd generator anywhere Smile
However, depending on how the easily one works, it may be best to keep using that one,

________________________________
Miguel

http://community.34sp.com
http://www.miguel.me.uk | http://www.sfcommand.co.uk | http://www.ssdg.org.uk
OfflineView User's ProfileFind all posts by SfCommandSend Personal MessageVisit Poster's Website
domuk
WebHelper
WebHelper


Joined: 15 Jan 2004
Posts: 91

PostPosted: Fri Jan 16, 2004 5:19 pm (20 years, 3 months ago) Reply with QuoteBack to Top

Thank you so much for your help,

You have been more help than the service provider!

I knew i was using the wrong path but didn't know what to use. I was supplied with the path from another server!!!!!!! I had no idea which server i was on or if they had multiple servers.

It took three days when it could have taken 1/2 hour with the correct information..

Works now,

Thanks again,

Dom Wink
OfflineView User's ProfileFind all posts by domukSend Personal Message
domuk
WebHelper
WebHelper


Joined: 15 Jan 2004
Posts: 91

PostPosted: Sat Jan 17, 2004 7:34 am (20 years, 3 months ago) Reply with QuoteBack to Top

Hi Miguel,

I wonder if you can help me again. It is another question about Easily.co.uk. You seem to be more helpful than their help desk so here it goes:

I appear to be using the Plesk server as the directory path worked on the .htaccess files.

They specify #!usr/bin/perl -- on one of the links that you have supplied me with:

http://easily.co.uk/index.php3?exe=faq&sb=n&do=d&group_id=5&id=217


1) Do you need to include the -- after perl word or is it just “ #!usr/bin/perl “

2) Can I use cgi scripts outside of the cgi-bin ore do they have to be placed in the cgi-bin?

3) What about file permissions on this server would this stop cgi scripts from working?

4) I am new to cgi and was wondering if there is any good step by step guides for setting up various cgi scripts using perl and php on a server.

5) in your reply how did you place my questions in boxes?

Thanks in advance,

Dom
OfflineView User's ProfileFind all posts by domukSend Personal Message
SfCommand
Senior WebHelper
Senior WebHelper


Joined: 10 Nov 2002
Posts: 143
Location: UK

PostPosted: Sat Jan 17, 2004 11:57 am (20 years, 3 months ago) Reply with QuoteBack to Top

domuk wrote:
1) Do you need to include the -- after perl word or is it just “ #!usr/bin/perl “

No, I don't believe you do. (Tho if someone for who perl works could double check this for me).

domuk wrote:
2) Can I use cgi scripts outside of the cgi-bin ore do they have to be placed in the cgi-bin?

Since you can make .htaccess files, you can use an .htaccess file to run cgi scripts outside the cgi-bin
[code]Options +ExecCGI
AddHandler cgi-script .cgi
domuk wrote:
"domuk"]3) What about file permissions on this server would this stop cgi scripts from working?

Perhaps. CGI scripts should be CHMODd to 755 under PLESK

domuk wrote:
4) I am new to cgi and was wondering if there is any good step by step guides for setting up various cgi scripts using perl and php on a server.

Dunno, perl doesn't like me, so doesn't work for me

domuk wrote:
5) in your reply how did you place my questions in boxes?

I used the [ quote] [ /quote] tags (without spaces of course)

________________________________
Miguel

http://community.34sp.com
http://www.miguel.me.uk | http://www.sfcommand.co.uk | http://www.ssdg.org.uk
OfflineView User's ProfileFind all posts by SfCommandSend Personal MessageVisit Poster's Website
domuk
WebHelper
WebHelper


Joined: 15 Jan 2004
Posts: 91

PostPosted: Sat Jan 17, 2004 12:22 pm (20 years, 3 months ago) Reply with QuoteBack to Top

Thanks again Miguel,

Quote:
Perhaps. CGI scripts should be CHMODd to 755 under PLESK


1) How do i set up CHMODd 755 in windown xp ftp?

2) Do you use Easily?
OfflineView User's ProfileFind all posts by domukSend Personal Message
SfCommand
Senior WebHelper
Senior WebHelper


Joined: 10 Nov 2002
Posts: 143
Location: UK

PostPosted: Sat Jan 17, 2004 3:33 pm (20 years, 3 months ago) Reply with QuoteBack to Top

domuk wrote:
1) How do i set up CHMODd 755 in windown xp ftp?

You'll need to use an ftp client (such as www.smartftp.com <= is free and very good), then take a look at this article => http://www.4webhelp.net/tutorials/misc/chmod.php

domuk wrote:
2) Do you use Easily?

No, I don't use easily

________________________________
Miguel

http://community.34sp.com
http://www.miguel.me.uk | http://www.sfcommand.co.uk | http://www.ssdg.org.uk
OfflineView User's ProfileFind all posts by SfCommandSend Personal MessageVisit Poster's Website
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Sat Jan 17, 2004 5:35 pm (20 years, 3 months ago) Reply with QuoteBack to Top

You can also find some information more specific to SmartFTP at the following address:

http://www.4webhelp.net/chmod/smartftp.html

(Yes, these CHMOD tutorials never got published!)

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Ian bell
Junior WebHelper
Junior WebHelper


Joined: 23 Jul 2014
Posts: 2

PostPosted: Wed Jul 23, 2014 3:01 pm (9 years, 8 months ago) Reply with QuoteBack to Top

Try FTP Manager Lite. It is an excellent modern free FTP and SFTP client software. The clean interface is super easy to use. Perform fast, efficient transfers of all your important data.
OfflineView User's ProfileFind all posts by Ian bellSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.130693 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme