Portál AbcLinuxu, 8. května 2025 16:01

Dotaz: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2

6.9.2006 10:08 random | skóre: 11 | Kosice
SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
Přečteno: 896×
Odpovědět | Admin
MAm maly velky problem> nainstaloval som si distribuciu SUSE 10.1 s domnenim ze sa mi bude pracovat lepsie s koncifuraciou ... hmm .. no opak je pravdou ... ... chcem si spojazdnit Apache s podporou userdir a php5 ale ten somar to nevie pochopit a teda obe moduli niesu funkcne pritom apache hlasi ze je "runing" a ked mu nasekam natvrdo loading tychto modulov do jeho konfigu tak mi hlasi ze uz ich ma ... no tudle! ... napisem do mozilli ze "localhost/~random" a mala by sa mi objavit uvodna stranka cms-ka drupal ale miesto toho nasleduje chybova hlaska ... ak mu ho nakopirujem do jeho rootdir tak sa ozve drupal ze "hahahaa nemas podporu php" ... sh!t|... ale v kofigu (no presnejsie v YaST2 - oba moduli su aktivne aspon sa tak tvaria .. su uvedene aj v tom divnom konfigy co ma SUSE {/etc/sysconfig/apache2}) je setko ze ok! .. poradte mi bo stracam nervi!
Nástroje: Začni sledovat (2) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

6.9.2006 10:15 Haaja | skóre: 25 | blog: haaja | Praha
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
Odpovědět | | Sbalit | Link | Blokovat | Admin
Mas treba spravne nastaveny prava k adresari ~/public_html nebo kde mas ty www? Aby tam mohl pristupovat apache vubec.

Jinak jsi to zkousels i bez yastu pomoci standartnich konfiguracnich souboru?

Tvuj zpusob vyjadrovani je opravdu dost mizerny.
Osobní blog
6.9.2006 10:27 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
sorry za ten sposob ale drbem sa s tym uz druhy den a nevidim ziaden pokrok v tom co robim. takze tak.

... no na adresari je nastavene xr pre ostanych takze by ho apache mal bez problemov vydiet ... ale tu nieje problem s tym ze by tie adresare apache nevidel ale s tym ze tie moduly nenatiahne alebo natiahne ? ale nefunguju (php nefunguje ani v standardnom korenovom adresari servera) ... takze to bude iny problem (to co popisujes som otestoval hned ako prve)
6.9.2006 10:32 Haaja | skóre: 25 | blog: haaja | Praha
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
co se zkusit pochlubit tema konfiguracnima souborama? Konkretne httpd.conf nebo apache2.conf. Jakou verzi php mas nainstalovanou?
6.9.2006 10:54 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
uz som myslel ze sa na to nebudes pytat (no myslel som ze sa niekto s tym uz stretol) ... ok .. php mam 5 (presnejsie 5.daco) ... vsetko som nainstaloval standardne z DVD SUSE 10.1 .. nic som nemenil .. iba som spustil sluzbu a povolil moduly (php5 a userdir).. tak tu su konfiguraky

/etc/apache2/httpd.conf
#
# /etc/apache2/httpd.conf 
#

# run under this user/group id
Include /etc/apache2/uid.conf

# - how many server processes to start (server pool regulation)
# - usage of KeepAlive
Include /etc/apache2/server-tuning.conf

# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
ErrorLog /var/log/apache2/error_log

# generated from APACHE_MODULES in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/loadmodule.conf

# IP addresses / ports to listen on
Include /etc/apache2/listen.conf

# predefined logging formats
Include /etc/apache2/mod_log_config.conf

# generated from global settings in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/global.conf

# optional mod_status, mod_info
Include /etc/apache2/mod_status.conf
Include /etc/apache2/mod_info.conf

# optional cookie-based user tracking
# read the documentation before using it!!
Include /etc/apache2/mod_usertrack.conf

# configuration of server-generated directory listings
Include /etc/apache2/mod_autoindex-defaults.conf

# associate MIME types with filename extensions
TypesConfig /etc/apache2/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf

# set up (customizable) error responses
Include /etc/apache2/errors.conf

# global (server-wide) SSL configuration, that is not specific to 
# any virtual host
Include /etc/apache2/ssl-global.conf

# forbid access to the entire filesystem by default
<Directory />
    Options None
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

# List of resources to look for when the client requests a directory
DirectoryIndex index.html index.html.var

### 'Main' server configuration #############################################
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition.  These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
Include /etc/apache2/default-server.conf


# Another way to include your own files
#
# The file below is generated from /etc/sysconfig/apache2,
# include arbitrary files as named in APACHE_CONF_INCLUDE_FILES and
# APACHE_CONF_INCLUDE_DIRS
Include /etc/apache2/sysconfig.d/include.conf


### Virtual server configuration ############################################
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs-2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
Include /etc/apache2/vhosts.d/*.conf


# Note: instead of adding your own configuration here, consider 
#       adding it in your own file (/etc/apache2/httpd.conf.local)
#       putting its name into APACHE_CONF_INCLUDE_FILES in 
#       /etc/sysconfig/apache2 -- this will make system updates 
#       easier :) 









/etc/sysconf/apache
## Path:	Network/WWW/Apache2
## Description:	Configuration for Apache 2

## Type:	string
## Default:	""
## ServiceRestart: apache2
#
# Here you can name files, separated by spaces, that should be Include'd from 
# httpd.conf. 
#
# This allows you to add e.g. VirtualHost statements without touching 
# /etc/apache2/httpd.conf itself, which makes upgrading easier. 
#
APACHE_CONF_INCLUDE_FILES=""

## Type:	string
## Default:	""
## ServiceRestart: apache2
#
# Here you can name directories, separated by spaces, that should be Include'd 
# from httpd.conf. 
#
# All files contained in these directories will be recursively included by apache.
# If a pattern like *.conf is appended, apache will use it.
#
# Examples: "/etc/apache2/my_conf/"
#           "/etc/apache2/virtual_hosts/*.conf"
#           "local/*.conf /srv/www/virtual/"
#
APACHE_CONF_INCLUDE_DIRS=""

## Type:	string
## Default:	"actions alias auth_basic authz_host authn_file authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5"
## ServiceRestart: apache2
#
# 
# apache's default installation
# APACHE_MODULES="authz_host actions alias asis auth autoindex cgi dir imap include log_config mime negotiation setenvif status userdir"
# your settings
APACHE_MODULES="authz_host actions alias auth_basic authz_groupfile authn_file authz_user autoindex cgi dir include log_config mime negotiation setenvif status userdir asis imagemap vhost_alias php5 authz_default"


## Type:	string
## Default:	""
## ServiceRestart: apache2
#
# 
# Example:
#      "SSL STATUS AWSTATS SVN_VIEWCVS no_subversion_today"
#
APACHE_SERVER_FLAGS=""

## Type:	string
## Default:	""
## ServiceRestart: apache2
#
# Which config file do you want to use?
# (if not set, /etc/apache2/httpd.conf is used.)
# It is unusual to need to use this setting.
#
APACHE_HTTPD_CONF=""

## Type:	list(prefork,worker)
## Default:	""
## ServiceRestart: apache2
#
# MPM (multi-processing module) to use.
#
# 
APACHE_MPM=""

## Type:	string
## Default:	""
## ServiceReload: apache2
#
# email address of the server administrator (ServerAdmin directive)
# This address is added to the server's responses if APACHE_SERVERSIGNATURE 
# is set to "email". 
#
APACHE_SERVERADMIN="root@hydra"

## Type:	string
## Default:	""
## ServiceReload: apache2
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
APACHE_SERVERNAME="hydra"

## Type:	integer
## Default:	2
#
# timeout during server startup (seconds)
# after this time, the start script decides wether the httpd process started without error.
#
# Increase it, if you use mod_ssl and your certificate is passphrase protected!
#
APACHE_START_TIMEOUT="2"

## Type:	list(on,off,email)
## Default:	"on"
## ServiceReload: apache2
#
# Configures the footer on server-generated documents 
# This correlates to the ServerSignature directive. 
#
APACHE_SERVERSIGNATURE="on"

## Type:	list(debug,info,notice,warn,error,crit,alert,emerg)
## Default:	"warn"
## ServiceReload: apache2
#
# LogLevel: Control the number of messages logged to the error_log.
#
APACHE_LOGLEVEL="debug"

## Type:	string
## Default:	"/var/log/apache2/access_log combined"
## ServiceRestart: apache2
#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here.  Contrarywise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
# setting it to "/var/log/apache2/access_log combined"
#   corresponds to 
# CustomLog /var/log/apache2/access_log combined
#
APACHE_ACCESS_LOG="/var/log/apache2/access_log combined"

## Type:	list(On,Off,DNS)
## Default:	"Off"
## ServiceReload: apache2
#
# UseCanonicalName: Determines how Apache constructs self-referencing 
# URLs and the SERVER_NAME and SERVER_PORT variables.
# When set "Off", Apache will use the Hostname and Port supplied
# by the client.  When set "On", Apache will use the value of the
# ServerName directive.
#
APACHE_USE_CANONICAL_NAME="off"

## Type:	list(Major,Minor,Minimal,ProductOnly,OS,Full)
## Default:	"OS"
## ServiceReload: apache2
#
# How much information the server response header field contains about the server.
# (installed modules, versions, etc.)
# see http://httpd.apache.org/docs-2.2/mod/core.html#servertokens
#
APACHE_SERVERTOKENS="OS"

## Type:	list(on,off)
## Default:	"off"
## ServiceReload: apache2
#
# If mod_status is used, include extended information about the server, like 
# CPU usage, in the status report. It is a server-wide setting, and it can cost
# some performance!
#
APACHE_EXTENDED_STATUS="off"

## Type:	list(on,off)
## Default:	"off"
## ServiceRestart: apache2
#
# Enable buffered logging
#
APACHE_BUFFERED_LOGS="off"

## Type:	integer
## Default:	300
## ServiceReload: apache2
#
# Timeout: The number of seconds before receives and sends time out.
# It is a server wide setting.
#
APACHE_TIMEOUT="300"

## Path:	   Network/WWW/Apache/SuSEhelp
## Description:	   SuSE help doc server configuration
## Type:	   yesno
## Default:	   no
## Config:         apache
## ServiceRestart: apache
## Command:
#
# Set this to yes on the central documentation server
# or to configure apache for local use of susehelp. 
# Then the online-help-system indices are automatically adjusted
# and access to the help-files is allowed as specified in DOC_ALLOW.
# To run as a client for the central documentation server who's name
# is specified in DOC_HOST, just set DOC_SERVER to no.
# The DOC_HOST and DOC_ALLOW variables are in the file /etc/sysconfig/susehelp.
#
DOC_SERVER="no"
6.9.2006 10:57 Haaja | skóre: 25 | blog: haaja | Praha
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
A v logu apache nezanecha zadnou zpravu? Jestli nemohl najit ty moduly, nebo nacist. Nebo jsou nacteny a je chyba jinde?
6.9.2006 11:02 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
no v logoch je prodim pekne toto :

tu som mu natvrdo dal aby nacital konfig s loadmi modulov (vsetky ktore mal nacitat su v tomto zozname a je prinich ze uz su loadnute)
[Wed Sep 06 09:24:52 2006] [info] removed PID file /var/run/httpd2.pid (pid=6772)
[Wed Sep 06 09:24:52 2006] [notice] caught SIGTERM, shutting down
[Wed Sep 06 09:25:43 2006] [warn] module authz_host_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module actions_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module alias_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module auth_basic_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module authz_groupfile_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module authn_file_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module authz_user_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module autoindex_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module cgi_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module dir_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module include_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module log_config_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module mime_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module negotiation_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module setenvif_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module status_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module userdir_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module asis_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module imagemap_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module vhost_alias_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module php5_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [warn] module authz_default_module is already loaded, skipping
[Wed Sep 06 09:25:43 2006] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
[Wed Sep 06 09:25:43 2006] [info] Server built: May  2 2006 08:47:14
[Wed Sep 06 09:25:43 2006] [debug] prefork.c(991): AcceptMutex: sysvsem (default: sysvsem)
tu som to dal do povodneho stavu
[Wed Sep 06 09:26:25 2006] [info] removed PID file /var/run/httpd2.pid (pid=6988)
[Wed Sep 06 09:26:25 2006] [notice] caught SIGTERM, shutting down
[Wed Sep 06 09:26:26 2006] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
[Wed Sep 06 09:26:26 2006] [info] Server built: May  2 2006 08:47:14
[Wed Sep 06 09:26:26 2006] [debug] prefork.c(991): AcceptMutex: sysvsem (default: sysvsem)
[Wed Sep 06 09:26:48 2006] [info] removed PID file /var/run/httpd2.pid (pid=7192)
[Wed Sep 06 09:26:48 2006] [notice] caught SIGTERM, shutting down
[Wed Sep 06 09:26:52 2006] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
[Wed Sep 06 09:26:52 2006] [info] Server built: May  2 2006 08:47:14
[Wed Sep 06 09:26:52 2006] [debug] prefork.c(991): AcceptMutex: sysvsem (default: sysvsem)
6.9.2006 11:04 zabza | skóre: 52 | blog: Nad_sklenkou_cerveneho
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
No a jaká chyba se tam objeví pokud zkusíte otevřít http://localhost/~random/ ?
6.9.2006 11:05 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
Objekt nenalezen!

Požadované URL nebylo na tomto serveru nalezeno. Pokud jste zadal(a) URL ručně, zkontrolujte, prosím, zda jste zadal(a) URL správně, a zkuste to znovu.

Pokud si myslíte, že toto je chyba serveru, kontaktujte, prosím, webmastera. Error 404 localhost Wed Sep 6 11:06:09 2006 Apache/2.2.0 (Linux/SUSE)
6.9.2006 11:07 zabza | skóre: 52 | blog: Nad_sklenkou_cerveneho
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
ehm, to vám vypíše prohlížeč, já se ptám co je v logu :-)
6.9.2006 11:12 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
toto je v access_log
127.0.0.1 - - [06/Sep/2006:11:06:09 +0200] "GET /~radnom HTTP/1.1" 404 1057 "-" "Mozilla/5.0 (X11; U; Linux i686; sk-SK; rv:1.8.0.3) Gecko/
20060425 SUSE/1.5.0.3-7 Firefox/1.5.0.3"
a toto v error_log
[Wed Sep 06 11:06:09 2006] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/~radnom
to druhe je zrejme kedze nieje funkcny modul userdir tak to bude ten tulpas hladat v rootdir ...
6.9.2006 11:22 zabza | skóre: 52 | blog: Nad_sklenkou_cerveneho
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
random vs. radnom ? lomítko na konci?
6.9.2006 11:28 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
to je jedno ci s alebo bez ...
6.9.2006 11:56 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
no ponahlal som sa na obed ... nefunguje to ani s lomitkom ani bez lomitka .. uz som to napisal predtym - bud sa moduli nenatahuju vobec alebo aj ked su loadnute tak nefunguje ... tkze potrebujem vyriesit tento problem
6.9.2006 12:04 Martin Vlasak | skóre: 9 | blog: Muj_prvni_blog | Liberec
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
Mate tyto uzivatele v souboru passwd?
6.9.2006 12:19 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
no som lama ale az taka ee ... ... skusim to zopakovat este raz ... nemam problem z uzivatelmi, pravami ani behom demona httpd .. problem je len a len v tom ze sa tie moduly neloadnu (mozno sa loadnu ale z nejakeho dovodu nefunguju)... takze ak ma niekto nejaky napad ako to vyriesit tak sem snim
6.9.2006 12:24 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
no aby som to uviedol na spravnu mieru ... tak som si dal vypisat loadnute mooduly:

hydra:/home/random # apache2ctl -M Loaded Modules: core_module (static) mpm_prefork_module (static) http_module (static) so_module (static) authz_host_module (shared) actions_module (shared) alias_module (shared) auth_basic_module (shared) authz_groupfile_module (shared) authn_file_module (shared) authz_user_module (shared) autoindex_module (shared) cgi_module (shared) dir_module (shared) include_module (shared) log_config_module (shared) mime_module (shared) negotiation_module (shared) setenvif_module (shared) status_module (shared) userdir_module (shared) asis_module (shared) imagemap_module (shared) vhost_alias_module (shared) php5_module (shared) authz_default_module (shared) Syntax OK hydra:/home/random #

takze su tam! ... de je potom ale ten hlavny problem ???
6.9.2006 12:24 skonciljsem | skóre: 20
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
Ale on se ptá random vs. radnom. Error log tvrdí, že to druhé neexistuje a ty jsi asi chtěl to první, soudím podle otázky a nicku...
6.9.2006 13:18 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
... ano ... chyba je aj v tom ze som tam mal preklep ale este to vyzera na iny problem ... ale uz som sa dostal o krocik dalej ... no ale zatial som nepreskocil ... teraz poriesim prava a potom uvidime co mi na to povie
6.9.2006 12:22 zabza | skóre: 52 | blog: Nad_sklenkou_cerveneho
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
Odpovědět | | Sbalit | Link | Blokovat | Admin
Podívejte se na /server-info , jestli tam ten modul skutečně je a jak je nakonfigurován. Ale k tomu samozřejmě musíte mít modul mod_info :-)
6.9.2006 13:06 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
no su tam obe ...
    In file: /etc/apache2/conf.d/mod_userdir.conf
      17: UserDir disabled root
      26: UserDir public_html
      28: <Directory /home/*/public_html>
      30:   AllowOverride FileInfo AuthConfig Limit Indexes
      31:   Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
      33:   <Limit GET POST OPTIONS PROPFIND>
      34:     Order allow,deny
      35:     Allow from all
        :   </Limit>
      38:   <LimitExcept GET POST OPTIONS PROPFIND>
      39:     Order deny,allow
      40:     Deny from all
        :   </LimitExcept>
        : </Directory>
    In file: /etc/apache2/conf.d/php5.conf
       2: AddType application/x-httpd-php .php3
       3: AddType application/x-httpd-php .php4
       4: AddType application/x-httpd-php .php5
       5: AddType application/x-httpd-php .php
       6: AddType application/x-httpd-php-source .php3s
       7: AddType application/x-httpd-php-source .php4s
       8: AddType application/x-httpd-php-source .php5s
       9: AddType application/x-httpd-php-source .phps
      10: DirectoryIndex index.php3
      11: DirectoryIndex index.php4
      12: DirectoryIndex index.php5
      13: DirectoryIndex index.php



Server Module List
    mod_authz_default.c
    mod_php5.c
    mod_vhost_alias.c
    mod_info.c
    mod_imagemap.c
    mod_asis.c
    mod_userdir.c
    mod_status.c
    mod_setenvif.c
    mod_negotiation.c
    mod_mime.c
    mod_log_config.c
    mod_include.c
    mod_dir.c
    mod_cgi.c
    mod_autoindex.c
    mod_authz_user.c
    mod_authn_file.c
    mod_authz_groupfile.c
    mod_auth_basic.c
    mod_alias.c
    mod_actions.c
    mod_authz_host.c
    mod_so.c
    http_core.c
    prefork.c
    core.c



Module Name: mod_php5.c
Content handlers: yes
Configuration Phase Participation: Create Directory Config, Merge Directory Configs
Request Phase Participation: Content Handlers
Module Directives:
    php_value - PHP Value Modifier
    php_flag - PHP Flag Modifier
    php_admin_value - PHP Value Modifier (Admin)
    php_admin_flag - PHP Flag Modifier (Admin)
    PHPINIDir - Directory containing the php.ini file
Current Configuration:



Module Name: mod_userdir.c
Content handlers: none
Configuration Phase Participation: Create Server Config
Request Phase Participation: Translate Name
Module Directives:
    UserDir - the public subdirectory in users' home directories, or 'disabled', or 'disabled username username...', or 'enabled username username...'
Current Configuration:
    In file: /etc/apache2/conf.d/mod_userdir.conf
      17: UserDir disabled root
      26: UserDir public_html
      17: UserDir disabled root
      26: UserDir public_html 
6.9.2006 14:28 random | skóre: 11 | Kosice
Rozbalit Rozbalit vše Re: SUSE 10.1 a jeho divny sposob konfiguracie APACHE2
no dobre uz sa mi to podarilo zuzit (teda odstranil som nejake problemy a na nieco som prisiel) ... takze: 1. userdir - uz ide bez problemov 2. ak je v adresari .htaccess tak je to v haji odpoved od apache je Error 500 a v erorlogu je
[Wed Sep 06 14:24:33 2006] [alert] [client 127.0.0.1] /home/random/public_html/.htaccess: Options not allowed here
3. php modul ide .. ale z nejakeho dovodu nefunguje prepojenie s mySQL ... no ale to bude asi problem php5 (asi tam chyba kniznica mysql)

takze poprosim niekoho kto ma napad co s co by mohlo byt vo veci ... d~

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.