LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-23-2004, 09:39 PM   #1
zoso
Member
 
Registered: Dec 2004
Distribution: Debian, Gentoo, Slackware, FreeBSD
Posts: 68

Rep: Reputation: 15
Apache


First off, let me apologize on behalf of my ignorance here - I'm relatively new to Linux, and always try to find answers to my questions before asking someone else.

With that being said, I have a really stupid question. I've been running Debian (Sarge) for a couple weeks now, and I absolutely love it. (After trying pretty much every well-known distribution, I think I'll stop with Debian.)

With the default installation of Apache, it automatically redirects whomever is trying to access the server to /var/www/apache2-default/ (and shows it in the address bar of the browser). Is there any way to either preclude it from showing /apache2-default/ in the browser; or, to change the directory from /var/www/apache2-default/ to something else?

I apologize if this was posted in the wrong forum - I assumed that this was specific to Debian. Also, could anyone point me in the direction of some step-by-step instructions on configuring user directories (other than on Apache's site)? Thanks in advance!
 
Old 12-24-2004, 12:32 AM   #2
Maqo
LQ Newbie
 
Registered: Jan 2003
Location: NY
Distribution: Mandrake 10.0 Official
Posts: 21

Rep: Reputation: 15
zoso, do you mean that pointing your browser to http://{yourhost} automatically loads http://{yourhost}/apache2-default/ ?

In your httpd2.conf file (possibly in /etc/httpd/conf/), what is your DocumentRoot directive set to?
 
Old 12-24-2004, 01:14 AM   #3
zoso
Member
 
Registered: Dec 2004
Distribution: Debian, Gentoo, Slackware, FreeBSD
Posts: 68

Original Poster
Rep: Reputation: 15
Thanks for the reply. Yes, that's what it points to; I'm sorry that wasn't clear. It wouldn't let me post a complete URL because I had not yet made 5 posts in the forums. As for the document root, it just wasn't in the configuration file, which is what confused me.

About half an hour ago, I got frustrated and just reinstalled Apache from scratch instead of using apt, and everything's fine now. Thanks again for the help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 07:28 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration