i have some strange trouble with phplogcon on my freebsd
i install phplogcon from freebsd ports in httpd.conf im add
- Code: Select all
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Alias /syslog "/usr/local/www/phplogcon"
<Directory "/usr/local/www/phplogcon">
AllowOverride None
Options Indexes FollowSymLinks
Order deny,allow
Allow from all
</Directory>
then i create config.php
$touch /usr/local/www/phplogcon/config.php
$chmod 666 /usr/local/www/phplogcon/config.php
when i try open page in my brouser or with curl (http://my-ip/syslog i have nothing =( no page, no html code, no errors, only in my httpd-access.log
- Code: Select all
"GET /syslog/ HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008122011 Firefox/2.0.0.12
- Code: Select all
"GET /syslog/ HTTP/1.1" 200 - "-" "curl/7.18.0 (i386-portbld-freebsd6.2) libcurl/7.18.0 OpenSSL/0.9.7e zlib/1.2.3"
I'm also try get http://my-ip/syslog/index.php or http://my-ip/syslog/install.php and get same result =(
when i start index.php from cli it work correct
- Code: Select all
$ pwd
/usr/local/www/phplogcon
$ php index.php
Critical Error occured - Errordetails:
Error, main configuration file is missing!<br><br><center><b>Click <a href="./install.php">here</a> to Install PhpLogCon!</b><br><br></center>
Terminating now!
$
my php work correctly i test it with test index.php
- Code: Select all
<?php
phpinfo();
?>
and i see php info page.
P.S. i try debug on in php.ini and httpd.conf but not see any errors.
P.P.S. ssory for my English is not my native lang =)


