Apache2 default directory in Debian

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Apache2 default directory in Debian

Post by ayu »

Ok so I just installed Debian again, and planning to use it as a server. But I already ran into a problem ^^

When I enter the web server by URL, it automatically takes me to "apache2-default", but I can't find this anywhere in apache2.conf.

Does anyone know where it is and can be changed? =/
"The best place to hide a tree, is in a forest"

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

it's in /etc/apache2/sites-available/default:

Code: Select all

 # This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
RedirectMatch ^/$ /apache2-default/
:wink:

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

<3 =)
"The best place to hide a tree, is in a forest"

Post Reply