LinuxQuestions.org
Review your favorite Linux distribution.
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 04-24-2005, 08:31 PM   #1
el_pajaro!
Member
 
Registered: Sep 2003
Location: Ecuador
Distribution: Debian, Ubuntu, Elastix
Posts: 183

Rep: Reputation: 30
apache debian


I have use apache in Red Hat, Fedora and Mandrake. Now I am trying to use only Debian. I have change de DocumentRoot to /var/www/html to work with my php sites. Then I restart the service, but it does not use the new document.

What am I doing wrong?

Greetings
 
Old 04-24-2005, 09:47 PM   #2
zeos
Member
 
Registered: Aug 2003
Posts: 150

Rep: Reputation: 15
check in /etc/apache2/sites-available/default for a RedirectMatch rule and comment it out (RedirectMatch ^/$ /apache2-default/)
Also, you can comment out the entire contents of /etc/apache2/conf.d/apache2-doc ....

Restart apache and it should start looking to /var/www/html for your documents...
 
Old 04-27-2005, 10:37 AM   #3
el_pajaro!
Member
 
Registered: Sep 2003
Location: Ecuador
Distribution: Debian, Ubuntu, Elastix
Posts: 183

Original Poster
Rep: Reputation: 30
Thanks a lot it worked

Greetings
 
  


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
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
confused by apache in debian tomj88 Debian 2 06-14-2005 12:46 PM
Apache + Mysql + Debian Doomhammer Linux - Software 0 08-17-2004 04:03 PM
Apache with PHP under Debian TemplaraPheonix Linux - Software 0 07-01-2004 12:36 AM
debian 3.0 apache scheidel21 Linux - General 1 03-09-2003 09:01 PM

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

All times are GMT -5. The time now is 10:07 AM.

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