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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer Fubard my httpd.conf

    Hi guys, I really would appreciate some help from the experts here. I've completely messed up my httpd.conf and other settings on my VPS and the worst thing is - I can't find out what I've done wrong! Please help, I've had a few hack attempts using my Apache recently, so I want to get this up as soon as poss!

    My aim:

    /var/www/downloads/<username-sub-dir> all username sub dir's require a username / password (from mod_auth_mysql) to view the file listing, OR to have a cookie available.

    I have conflicts clearly between httpd.conf and /sitest-enabled/000-default. I'm not experienced with most of the stuff here, so any help would be massively appreciated!

    Setup

    sites-enabled/000-default: http://jsfiddle.net/Xcece/
    httpd.conf here: http://jsfiddle.net/CFRSu/

    I'm not using .htaccess files. This all seemed to work a few days ago, now it's not

    Any help would be amazing right now after the previous hack attempt that grabbed all my code

  • #2
    Regular Coder stevenmw's Avatar
    Join Date
    Jun 2007
    Location
    OK
    Posts
    497
    Thanks
    27
    Thanked 31 Times in 31 Posts
    You've asked this several times. If you're having that much trouble with it why not rebuild it? That is my best advice. Do it a piece at a time, and test it as you go. Probably the easiest way.
    Thanks!

  • #3
    Regular Coder
    Join Date
    Jun 2010
    Posts
    289
    Thanks
    63
    Thanked 8 Times in 8 Posts
    I'm with Steven!

    1) Re-install your server completely.

    2) Make a back up of your configuration files (To me, this is Rule #1 when fiddling with anything that you need root permissions for. Root permissions are there for a reason ...)

    3) Change your config files incrementally and carefully investigate the results of your changes.

    4) Use the backed up versions to make everything OK again!

    Remember - make back ups! Make back ups! Make back ups!!!! You'll save yourself a very big headache if you do!!!!

  • #4
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    And it at all possible test it out on a development machine rather than your live server.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster


  •  

    Posting Permissions

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