Kod
/etc/apache2/sysconfig.d # /usr/sbin/httpd2 -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_default_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
include_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
ssl_module (shared)
userdir_module (shared)
rewrite_module (shared)
php5_module (shared)
Syntax OK
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_default_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
include_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
ssl_module (shared)
userdir_module (shared)
rewrite_module (shared)
php5_module (shared)
Syntax OK
Kod
cat /etc/apache2/sysconfig.d/loadmodule.conf
#
# Files in this directory are created at apache start time by /usr/sbin/rcapache2
# Do not edit them!
#
# as listed in APACHE_MODULES (/etc/sysconfig/apache2)
LoadModule actions_module /usr/lib/apache2-prefork/mod_actions.so
LoadModule alias_module /usr/lib/apache2-prefork/mod_alias.so
LoadModule auth_basic_module /usr/lib/apache2-prefork/mod_auth_basic.so
LoadModule authn_file_module /usr/lib/apache2-prefork/mod_authn_file.so
LoadModule authz_host_module /usr/lib/apache2-prefork/mod_authz_host.so
LoadModule authz_groupfile_module /usr/lib/apache2-prefork/mod_authz_groupfile.so
LoadModule authz_default_module /usr/lib/apache2-prefork/mod_authz_default.so
LoadModule authz_user_module /usr/lib/apache2-prefork/mod_authz_user.so
LoadModule autoindex_module /usr/lib/apache2-prefork/mod_autoindex.so
LoadModule cgi_module /usr/lib/apache2-prefork/mod_cgi.so
LoadModule dir_module /usr/lib/apache2-prefork/mod_dir.so
LoadModule env_module /usr/lib/apache2-prefork/mod_env.so
LoadModule expires_module /usr/lib/apache2-prefork/mod_expires.so
LoadModule include_module /usr/lib/apache2-prefork/mod_include.so
LoadModule log_config_module /usr/lib/apache2-prefork/mod_log_config.so
LoadModule mime_module /usr/lib/apache2-prefork/mod_mime.so
LoadModule negotiation_module /usr/lib/apache2-prefork/mod_negotiation.so
LoadModule setenvif_module /usr/lib/apache2-prefork/mod_setenvif.so
LoadModule ssl_module /usr/lib/apache2-prefork/mod_ssl.so
LoadModule userdir_module /usr/lib/apache2-prefork/mod_userdir.so
LoadModule rewrite_module /usr/lib/apache2-prefork/mod_rewrite.so
LoadModule php5_module /usr/lib/apache2/mod_php5.so
#
#
# Files in this directory are created at apache start time by /usr/sbin/rcapache2
# Do not edit them!
#
# as listed in APACHE_MODULES (/etc/sysconfig/apache2)
LoadModule actions_module /usr/lib/apache2-prefork/mod_actions.so
LoadModule alias_module /usr/lib/apache2-prefork/mod_alias.so
LoadModule auth_basic_module /usr/lib/apache2-prefork/mod_auth_basic.so
LoadModule authn_file_module /usr/lib/apache2-prefork/mod_authn_file.so
LoadModule authz_host_module /usr/lib/apache2-prefork/mod_authz_host.so
LoadModule authz_groupfile_module /usr/lib/apache2-prefork/mod_authz_groupfile.so
LoadModule authz_default_module /usr/lib/apache2-prefork/mod_authz_default.so
LoadModule authz_user_module /usr/lib/apache2-prefork/mod_authz_user.so
LoadModule autoindex_module /usr/lib/apache2-prefork/mod_autoindex.so
LoadModule cgi_module /usr/lib/apache2-prefork/mod_cgi.so
LoadModule dir_module /usr/lib/apache2-prefork/mod_dir.so
LoadModule env_module /usr/lib/apache2-prefork/mod_env.so
LoadModule expires_module /usr/lib/apache2-prefork/mod_expires.so
LoadModule include_module /usr/lib/apache2-prefork/mod_include.so
LoadModule log_config_module /usr/lib/apache2-prefork/mod_log_config.so
LoadModule mime_module /usr/lib/apache2-prefork/mod_mime.so
LoadModule negotiation_module /usr/lib/apache2-prefork/mod_negotiation.so
LoadModule setenvif_module /usr/lib/apache2-prefork/mod_setenvif.so
LoadModule ssl_module /usr/lib/apache2-prefork/mod_ssl.so
LoadModule userdir_module /usr/lib/apache2-prefork/mod_userdir.so
LoadModule rewrite_module /usr/lib/apache2-prefork/mod_rewrite.so
LoadModule php5_module /usr/lib/apache2/mod_php5.so
#
vhost
Kod
<VirtualHost *:80>
DocumentRoot "/srv/www/htdocs/TestLineMonitor"
ServerName tlm.//tajne
<Directory "/srv/www/htdocs/TestLineMonitor">
#Options +FollowSymLinks
Options Indexes MultiViews FollowSymLinks SymLinksIfOwnerMatch Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.php
</Directory>
# Other directives here
</VirtualHost>
DocumentRoot "/srv/www/htdocs/TestLineMonitor"
ServerName tlm.//tajne
<Directory "/srv/www/htdocs/TestLineMonitor">
#Options +FollowSymLinks
Options Indexes MultiViews FollowSymLinks SymLinksIfOwnerMatch Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.php
</Directory>
# Other directives here
</VirtualHost>
i php.conf
Kod
<IfModule mod_php5.c>
<FilesMatch "\.ph(p[345]?|tml)$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.php[345]?s$">
SetHandler application/x-httpd-php-source
</FilesMatch>
DirectoryIndex index.php4
DirectoryIndex index.php5
DirectoryIndex index.php
</IfModule>
<FilesMatch "\.ph(p[345]?|tml)$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.php[345]?s$">
SetHandler application/x-httpd-php-source
</FilesMatch>
DirectoryIndex index.php4
DirectoryIndex index.php5
DirectoryIndex index.php
</IfModule>
Macie pomysl czemu to nie dziala?
Pozdrawiam