Find the answer to your Linux question:
Results 1 to 5 of 5
ok, I recently installed bluefish as my html editor, i created a simple html page to test out my apache server, which was running fine. I save the index.html file ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2003
    Location
    Flint, MI
    Posts
    6

    www directory under apache


    ok,

    I recently installed bluefish as my html editor, i created a simple html page to test out my apache server, which was running fine. I save the index.html file to my www directory but somehow my www directory got deleted. Do I have to uninstall apache then reinstall it to get my www directory back, or can I create one???


    any help would be appreciated...


  2. #2
    Just Joined!
    Join Date
    Mar 2003
    Location
    UK
    Posts
    82
    you should be able to just create a new www and htdocs folder.

    there is nothing stopping you from trying though is there?

    on the other hand, you can edit your httpd.conf file to set the document root as a different location. for example, i have my apache server's document root set as a folder in the home directory of a user i set up specificly for transfering files to the htdocs folder with ftp etc etc.

  3. #3
    Just Joined!
    Join Date
    Jul 2003
    Location
    Flint, MI
    Posts
    6
    what about the cgi-bin and such? Would i have to edit httpd.conf file for it as well?

  4. #4
    flw
    flw is offline
    Linux Engineer
    Join Date
    Mar 2003
    Location
    U.S.A.
    Posts
    1,025
    If you just installed it and are trying to test it, I would uninstall it and reinstall it so all the directories and sub's along with the correct permissions get put in. Ohterwise your going to be doing all of that by hand.

    Any special changes you want to make and you still have to modify your httpd.conf file. Otherwise put your index file in the default dir with the default name as defined in httpd.conf and all should be well.
    Dan

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

  5. #5
    Just Joined!
    Join Date
    Jul 2003
    Location
    Flint, MI
    Posts
    6
    ok, i got apache back up and running, i had to recreate all of the missing directories. now my next challenge is to install some scripts to see if my cgi-bin will function.

Posting Permissions

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