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 8 of 8
  1. #1
    Regular Coder YaymeQ's Avatar
    Join Date
    Feb 2008
    Location
    virginia
    Posts
    140
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Apache Default Webspace and Linux

    I have the xubuntu distro with xfce desktop. I used synaptic package manager to install apache2-mpm-prefork along with everything else it told me I needed. When I had apache on windows the default webspace was "htdocs" I looked for it and found instead "Default-site" I'm assuming that's the default webspace then. So I placed my directory of web folders in there and typed "localhost/yaymeq" in my browser. It returns with "The requested URL /YaymeQ was not found on this server." I tried "localhost/yaymeq/index.html" also with the same result. Just to make sure ... default-site is the correct place to put them right? If so, am I doing something else wrong?

    Thanks
    ~YaymeQ
    Where is the "any" key??!

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Look in /var/www that is the default location where documents go for apache 2.
    OracleGuy

  • #3
    Regular Coder YaymeQ's Avatar
    Join Date
    Feb 2008
    Location
    virginia
    Posts
    140
    Thanks
    14
    Thanked 0 Times in 0 Posts
    Yep, that would be it! lol thanks.
    Where is the "any" key??!

  • #4
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by YaymeQ View Post
    ... default-site is the correct place to put them right?
    no, you must a have a configuration, like default-site, for each site so you can enable/disable how you need.

    http://www.debian-administration.org/articles/207

    regards

  • #5
    Regular Coder YaymeQ's Avatar
    Join Date
    Feb 2008
    Location
    virginia
    Posts
    140
    Thanks
    14
    Thanked 0 Times in 0 Posts
    whoa ... okay that was the door I think. I went from knowing what I was doing with var/www/ to going what the heck is he talking about? I went to the link you supplied ... and well ... I didn't get it ... I won't ask you to explain to me everything as I'm pretty sure there's a resource out there somewhere that has already done it ... would you happen to know where it it?
    Where is the "any" key??!

  • #6
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Putting your files in the default site under /var/www will work.

    That page is just describing what the different config files are for. But keep in mind two things about the link: its 3 years old and Ubuntu might have moved things around or done things slightly different than debian despite being a derivative.
    OracleGuy

  • #7
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by oracleguy View Post
    Putting your files in the default site under /var/www will work.

    That page is just describing what the different config files are for. But keep in mind two things about the link: its 3 years old and Ubuntu might have moved things around or done things slightly different than debian despite being a derivative.
    ubuntu is upstream to debian and this is different by based on debian and the article is old but is still valid.
    Anyway I'm agree with you that YaymeQ must be carefull with some specific stuff.

    Quote Originally Posted by YaymeQ View Post
    whoa ... okay that was the door I think. I went from knowing what I was doing with var/www/ to going what the heck is he talking about? I went to the link you supplied ... and well ... I didn't get it ... I won't ask you to explain to me everything as I'm pretty sure there's a resource out there somewhere that has already done it ... would you happen to know where it it?
    you can follow the apache2 tag from the begining for a list of related article but I guess that you are looking for this:

    http://www.debian-administration.org/articles/412

    more info about network, servers, ...
    http://www.aboutdebian.com/index.htm

    regards

  • #8
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Or you could follow Ubuntu's step by step tutorial on installing LAMP
    https://help.ubuntu.com/community/ApacheMySQLPHP
    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
    •