ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim Tsaryuk <Mad-Max-Traveller@yandex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] apache2+php
Date: Mon, 17 Mar 2008 23:00:18 +0700
Message-ID: <200803172300.18097.Mad-Max-Traveller@yandex.ru> (raw)
In-Reply-To: <20080317145142.GA2585@ricom.ru>

В сообщении от Monday 17 March 2008 21:51:43 Alexey Morsov написал(а):
> On Mon, Mar 17, 2008 at 09:36:41PM +0700, Maxim Tsaryuk wrote:
> > Для проверки работы пхп положил в var/www/test.php
>
> А там ли находится DocumentRoot вашего apache2 ? ;)
> Стандартно он в /var/www/apache2/html ;)
>
> > с таким содержимым:
> > # test.php
> > <?php phpinfo(); ?>
>
> И в логах увидите PHP Warning:  phpinfo() has been disabled for
> security reasons :)
>
> > http://127.0.0.1/test.php
> > Object not found!
>
> Что он собственно и сообщает

О DocumentRoot в конфигурационном файле не слова не сказанно.
По дефолту получается /var/www/apache2/html
В конфиге явно указал DocumentRoot "var/www/html" сохранил, 
перезапустил апач, дериктория не изменилась.
Взял скопировал phpMyAdmin в /var/www/apache2/html вроде все 
заработало что мне надо было. 
Так как все таки изменить DocumentRoot ?
Я заметил что в Альте конфиг апача сильно отличается от стандартного.

  reply	other threads:[~2008-03-17 16:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-17 14:36 Maxim Tsaryuk
2008-03-17 14:51 ` Alexey Morsov
2008-03-17 16:00   ` Maxim Tsaryuk [this message]
2008-03-18  8:10     ` Shcherbina N. Timur
2008-03-18  8:28       ` Алексей Шенцев
2008-03-18  9:34         ` Maxim Tsaryuk
2008-03-18 10:14           ` Alexey Morsov
2008-03-18  9:39     ` Mikhail Gusarov
2008-03-17 17:57   ` Maxim Tsaryuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200803172300.18097.Mad-Max-Traveller@yandex.ru \
    --to=mad-max-traveller@yandex.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git