Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New to the CF scene
    Join Date
    Aug 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    .htaccess route to server?

    On this website http://bignosebird.com/passwd.shtml the step by step guide to use .htaccess it states that: To setup .htaccess you must be able to access your server using telnet, this cannot be done using FTP.

    Is this a fact > ie NO manner or means of using any ftp program to load whatever .hta access or password would be useless.
    TIA

  • #2
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    You can upload .htaccess files via FTP, no problem. But you can't set it up (i.e., configure an Apache server to actually use .htaccess files) that way. That requires access to the server itself, via the shell.

  • #3
    Senior Coder
    Join Date
    Feb 2006
    Location
    USA
    Posts
    1,013
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That article is incorrect. I often use FTP to transfer .htaccess files. Some FTP clients (the program you use on your computer) don't allow transferring files whose name begins with a period/full-stop -- that must be what the author of that ran into.

    Telnet is a dangerous thing to run on a server. SSH (Secure SHell) is a more secure option. Many web hosts don't offer either or only offer SSH for the more expensive service packages.

    Apache servers are configured to allow .htaccess files by default, but some web hosts disable it as a security precaution.
    Learn CSS. | SSI | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions
    Java != JavaScript && JScript != JavaScript
    Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.

  • #4
    New to the CF scene
    Join Date
    Aug 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    thx 4 clearing that up!

    Yeah, thx.... thats now sorted ....but since Im on the issue and have not received a appropiate answer form the support of godaddy yet I would appreciate another insight into some "grey area" that I am unsure of!

    They run an apache server yet I am on the budget package using the windows ASP alternative. Am I correct in assuming the .htaccess files would act correctly without additional settings and not pose any problem ?
    I have queried this issue with the email support on 2 occasions iro this issue and like may previous queries, Im convinced the "support staff" is nothing else but automated software !
    I regulary get the familar reply that I should consult a third party as they do not advise on script issues! Email replies take up to 6 hrs!

    So, if anybody can confirm in plain English that running .htaccess on my hosts windows iis ASP servers would deliver the same result as if I was on their apache server!

    Thx
    Last edited by hans100; 08-15-2006 at 12:17 PM.

  • #5
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    .htaccess is Apache only.

  • #6
    New to the CF scene
    Join Date
    Aug 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Touche' - Windows server ASP is useless!

    Quote Originally Posted by rmedek
    .htaccess is Apache only.
    Been a novice -means just that...Beginner, 1st timer, so thanks Richard ! Fact is that although I had mentioned this from the outset, in that I was on a Windows server using ASP - IIS, there was NO way I was going anywhere with .htaccess on this platform!

    I know I will pick up flak from you, the other contributors.... but maybe it should be stated from the outset of a query or HIGHLIGHTED somewhere on this forum that there is a distinct difference between being hosted on a LINUX/UNIX APACHE PHP and WINDOWS NT ASP IIS server and what one can expect to do depending from where one might be!

    Even though it was mentioned that .htaccess was not a NT thing, NT was just another one of the endless & confusing list of acronyms & jargon that frustrate the Sh%t out of one trying to get around a problem!
    If it was stated that .htaccess is exclusive to a LINUX-apache PHP server and NOT on a WINDOWS 2003 ASP server (NT represents this... I now know!) ...well then novices could even find using these forums a breeze!
    So in the event other novices find themselves in a similar position - GO back to your host and ask them to switch your content to their LINUX server!

    Im sure I am not the only one that was not even aware that this was possible! - it prescribed a full 72 hrs of inactivity for the switch to be enabled...but now life has become that much more in tune with what I understand the majority of developers use!
    My conclusion is that been on a windows ASP server is a complete waste of time when it comes to setting up a website using common solutions.
    Thanks to all!

  • #7
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Quote Originally Posted by hans100
    maybe it should be stated from the outset of a query or HIGHLIGHTED somewhere on this forum that there is a distinct difference between being hosted on a LINUX/UNIX APACHE PHP and WINDOWS NT ASP IIS server and what one can expect to do depending from where one might be!
    Maybe you should have mentioned you were on ASP in your first post?

    Glad you got it working, though.

  • #8
    Senior Coder
    Join Date
    Feb 2006
    Location
    USA
    Posts
    1,013
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The Apache Web Server and PHP are cross-platform. They can be installed on Linux/UNIX (MacOS X is a type of UNIX) and Windows.

    It's most common to see Linux servers with them because it's cheaper.
    Learn CSS. | SSI | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions
    Java != JavaScript && JScript != JavaScript
    Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.

  • #9
    New to the CF scene
    Join Date
    Aug 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [QUOTE=rmedek]Maybe you should have mentioned you were on ASP in your first post?

    No worries Richard....fact is, I did on numerous occasions, ! What happened was that in my 1st post under "HTML & CSS" I sought a KISS method of creating a link to file/s that I'd uploaded to my ftp server by means of providing a URL that would have an exclusive access control to it.
    "The host server is godaddy.com whom I understand uses ASP language!"
    &
    "I'm not sure but I dont believe I can use PHP script due to the fact that I am on a windows server where ASP code is used. (could be wrong?!)"
    &
    "Made a new thread due to this been a new subject! I did state i am on a windows server using ASP but you say i can go ahead with the .htaccess...so..."
    By the nature of replies on those prev 2 threads that ended up suggesting I use .htaccess yet not denying ASP use, I assumed I was ok .
    The 3rd thread, now progressed to a different subject matter, dealt specifically with the .htaccess issue and as you know, it panned out due to my suspicion of the asp error that you thankfully confirmed!

    My challenge is that the evolution of programming -evident by the dynamic release of advancements far outpace in time my ability to master a choice of best options required to build a website when new methods and jargon keep rolling off!
    With No background in programming ,To play catch up, is unprecedented! In fact the only possibility to progress at what ever rate is 100% due to forums such as this!
    Therefore I am extremely thankful to all the dedicated contributors.
    Finally, from a perspective of a novice, my suggestion is to have a self rating out of 10 below each users name that would give perspective to the type of answer and amount of geek lingo/jargon to be used to get a message across!
    Point is.... a newcomer..... says only that BUT a newcomer self rated 2/10 or even a 8/10 makes for a lot of time saving!

    My answer to the probability of having elicited some murmurs of " go read tutorials etc etc 1st" would be : we are both minority groups and WYSIWYG!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •