Announcement

Collapse
No announcement yet.

htaccess Files Nightmare!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    htaccess Files Nightmare!

    OK, many of you have noticed my "leave of absence" and I thank you for your thoughts.

    It is due to my efforts to help a very dear friend get her website running properly.

    Right now I am losing hair trying to secure a Members Only area of the site.

    The htaccess file should work, but it winds up requiring a sign in every time you try to navigate pages within the members only folder.

    Interestingly, the problem only happens with Internet Explorer. I wrote and tested it all using Firefox and have no trouble navigating, but IE requires a sign in for every page!!

    The site is hosted on a Linux server. I heard that htaccess is geared for Apache servers only.

    So I have two questions, the answers to which which will hasten my return to RPGMaking:

    First:

    Is the htaccess and htpassword combination usable on Linux Servers and if so where can I find a Complete-ish tutorial to help me understand what is going wrong? Even knowing what book to buy would help.

    I am completely self taught and have HUGE gaping holes in my knowledge of the New Basics (when I learned to program I was punching cards!!)


    Second:

    Is php / mysql a better way to approach this on a Linux server?

    I can find plenty of books on that, but it is even newer to me than html!

    I think Someone here may be able to help with this, but anyone with extensive knowledge or just ideas on where to find Complete info on htaccess stuff, please respond!

    I found Many, many examples of htaccess scripts but they had no explanations of what the commands are doing or where they come from! Not even an identification of what scripting language they seem to use!

    I am completely lost.

    And it is keeping me from RPGM2! (I made a promise...) (I always keep my promises).

    So... In brief:

    HAAAAALLP!!

    MOO!





    #2
    Re: htaccess Files Nightmare!

    Ah, well I believe the problem lay in permissions. There is a thing called CHMOD and I don't know if you've ever messed around with CHMOD permissions, but there are a number of options which you can set for permissions. This results in a number when all the permissions are totalled. If your htaccess needs to write any information to any given location in order to deal with registration, etc; than you may want to make sure the CHMOD permissions is 777.


    I really do recommend PHP for membership though, because it can work well with MySQL, a very good database interface.

    "Couch co-op is the only true co-op." Richard of the Cooks.

    Comment


      #3
      Re: htaccess Files Nightmare!

      Thanks Muchly!

      I have been eyeing a book on php etc but now I think I'd better grab it.

      It may be old, and I still need to find out what "flavor" server this site is on (something I never heard of until I started seeking help with this!).

      This is becoming a much bigger project than I planned!

      Don't they all, though?

      Peace.

      MOO!




      Comment


        #4
        Re: htaccess Files Nightmare!

        If all else fails, I know a guy who can definitely help you out. Hit me up if you need it.

        ~Updates weekly on Sundays~

        Comment


          #5
          Re: htaccess Files Nightmare!

          You should be using Apache, if you're using a Linux server.

          Comment


            #6
            Re: htaccess Files Nightmare!

            Originally posted by Smurtle
            You should be using Apache, if you're using a Linux server.
            I may be...

            It is not my site and I have no server side access.

            I am trying to find out the exact version of linux and if apache is accessible.

            The htaccess file works to protect one folder, so I guess Apache has to be there or it would be ignored, Right?

            I just need to figure out how to keep subdirectories protected without requiring a sign in for every page change!

            I have a lot to learn!

            And Fast!!

            I will be sure to post again if I run into more dead ends.

            This is all new to me.

            MOO!




            Comment


              #7
              Re: htaccess Files Nightmare!

              Problem Solved.

              Sort of.

              OK, Problem solved.. but it was not the htaccess file!

              Every page on this site has embedded video files.

              They are in rm format (Real Media Player).

              For some reason I can not explain if you embed rm files, Internet Explorer will require a log in every time you navigate to such a page. Mozilla Firefox works fine.

              I switched to wmv files and it works Perfectly!!

              AAAAAAAAAAAAAAAAAAA!!!

              Rassa-Frassa-Brassa-Crassa-Sassa-Lassa-Passa-Gassa-Smoka-Grassa!

              Anyone have any clue WHY THE FLUFF That should be the case?

              Bloody Microsoft!

              MOO!




              Comment

              Working...
              X