🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.os.linux.newbie
Article #138996

Re: Apache2 i wyświetlanie stron

#138996
From: skandal
Date: Sat, 15 Oct 2011 20:30
45 lines
2538 bytes
OK, problem rozwiązałem połowicznie. Zrobiłem tak:

Wyrzuciłem plik 000-default poprzez a2dissite 000-default i zmieniłem
plik phpsysinfo na:

<VirtualHost *:80>

DocumentRoot /home/www-data/phpsysinfo
Alias /phpsysinfo "/home/www-data/phpsysinfo"

<Directory /home/www-data/phpsysinfo>
       Options FollowSymLinks
       DirectoryIndex index.php
      #AllowOverride All
       AuthName "Password Required: "
       AuthType Basic
       AuthUserFile /etc/apache2/.htpasswd
       AuthGroupFile /dev/null
       require valid-user
</Directory>
</VirtualHost>

Po zrestartowania apache zaczęło hulać  Jednakże gdy zachciało mi się
dodać następny plik o nazwie drupal i treści:

<VirtualHost *:80>

DocumentRoot /home/uzytkownik/public_html/drupal
Alias /drupal "/home/uzytkownik/public_html/drupal"

<Directory /home/uzytkownik/public_html/drupal>
       Options FollowSymLinks
       DirectoryIndex index.php
       AllowOverride All
       </Directory>
</VirtualHost>


zaczęło się dziać tak, że po wpisaniu XXX.XXX.XXX.XXX/drupal ładuje
się drupal lecz kiedy wpiszę XXX.XXX.XXX.XXX/phpsysinfo ładuje się też
drupal tylko z tytułową stroną o nieznalezionej podstronie  I teraz
nie wiem jak to ugryźć :/

Proszę o pomoc,
Andrzej.
Technical Details
Message-ID: <b8b7fc80-4a9b-4a12-860b-128fcbc0d25f@s14g2000vbj.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!s14g2000vbj.googlegroups.com!not-for-mail
References: <be9e2c8a-5242-4cac-bd6b-a7198777f153@q4g2000yqh.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!s14g2000vbj.googlegroups.com!not-for-mail
From: skandal <a.r.krawczyk@gmail.com>
Newsgroups: alt.pl.comp.os.linux.newbie
Subject: Re: Apache2 i wyświetlanie stron
Date: Sat, 15 Oct 2011 13:30:41 -0700 (PDT)
Organization: http://groups.google.com
Lines: 48
Message-ID: <b8b7fc80-4a9b-4a12-860b-128fcbc0d25f@s14g2000vbj.googlegroups.com>
References: <be9e2c8a-5242-4cac-bd6b-a7198777f153@q4g2000yqh.googlegroups.com>
NNTP-Posting-Host: 87.199.6.12
Mime-Version: 1.0
X-Trace: posting.google.com 1318710641 12045 127.0.0.1 (15 Oct 2011 20:30:41 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 15 Oct 2011 20:30:41 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: s14g2000vbj.googlegroups.com; posting-host=87.199.6.12; posting-account=cSUBuwoAAAA-06fZaj2b5pWIiWfL4xSs
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HNKUARELSC
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1,gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit