...

View Full Version : Apache Default Webspace and Linux



YaymeQ
05-28-2008, 04:12 PM
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

oracleguy
05-28-2008, 04:19 PM
Look in /var/www that is the default location where documents go for apache 2.

YaymeQ
05-28-2008, 04:25 PM
Yep, that would be it! lol thanks.

oesxyl
05-28-2008, 07:18 PM
... 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

YaymeQ
05-28-2008, 10:56 PM
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?

oracleguy
05-29-2008, 12:26 AM
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.

oesxyl
05-29-2008, 02:13 AM
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.


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

Spookster
05-29-2008, 04:40 AM
Or you could follow Ubuntu's step by step tutorial on installing LAMP
https://help.ubuntu.com/community/ApacheMySQLPHP



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum