C
./svnserve -d -r ./
@AndrejTM
kannst du bitte deine funktionierenden apache.conf's (mit und ohne moduleunterstützung) hier anhängen?
...
#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Please read the file http://httpd.apache.org/docs/dso.html for more
# details about the DSO mechanism and run `httpd -l' for the list of already
# built-in (statically linked and thus always available) modules in your httpd
# binary.
#
# Note: The order in which modules are loaded is important. Don't change
# the order below without expert advice.
#
# Example:
# LoadModule foo_module libexec/mod_foo.so
[COLOR="Red"]#[/COLOR]LoadModule vhost_alias_module /var/media/ftp/SAMSUNG-HM320II-01/apache-1.3.41/libexec/mod_vhost_alias.so
[COLOR="Red"]#[/COLOR]LoadModule env_module libexec/mod_env.so
[COLOR="Red"]#[/COLOR]LoadModule config_log_module libexec/mod_log_config.so
[COLOR="Red"]#[/COLOR]LoadModule mime_magic_module libexec/mod_mime_magic.so
[COLOR="Red"]#[/COLOR]LoadModule mime_module libexec/mod_mime.so
[COLOR="Red"]#[/COLOR]LoadModule negotiation_module libexec/mod_negotiation.so
[COLOR="Red"]#[/COLOR]LoadModule status_module libexec/mod_status.so
[COLOR="Red"]#[/COLOR]LoadModule info_module libexec/mod_info.so
[COLOR="Red"]#[/COLOR]LoadModule includes_module libexec/mod_include.so
[COLOR="Red"]#[/COLOR]LoadModule autoindex_module libexec/mod_autoindex.so
[COLOR="Red"]#[/COLOR]LoadModule dir_module libexec/mod_dir.so
[COLOR="Red"]#[/COLOR]LoadModule cgi_module libexec/mod_cgi.so
[COLOR="Red"]#[/COLOR]LoadModule asis_module libexec/mod_asis.so
[COLOR="Red"]#[/COLOR]LoadModule imap_module libexec/mod_imap.so
[COLOR="Red"]#[/COLOR]LoadModule action_module libexec/mod_actions.so
[COLOR="Red"]#[/COLOR]LoadModule speling_module libexec/mod_speling.so
[COLOR="Red"]#[/COLOR]LoadModule userdir_module libexec/mod_userdir.so
[COLOR="Red"]#[/COLOR]LoadModule alias_module libexec/mod_alias.so
[COLOR="Red"]#[/COLOR]LoadModule rewrite_module libexec/mod_rewrite.so
[COLOR="Red"]#[/COLOR]LoadModule access_module libexec/mod_access.so
[COLOR="Red"]#[/COLOR]LoadModule auth_module libexec/mod_auth.so
[COLOR="Red"]#[/COLOR]LoadModule anon_auth_module libexec/mod_auth_anon.so
[COLOR="Red"]#[/COLOR]LoadModule digest_module libexec/mod_digest.so
[COLOR="Red"]#[/COLOR]LoadModule proxy_module libexec/libproxy.so
[COLOR="Red"]#[/COLOR]LoadModule cern_meta_module libexec/mod_cern_meta.so
[COLOR="Red"]#[/COLOR]LoadModule expires_module libexec/mod_expires.so
[COLOR="Red"]#[/COLOR]LoadModule headers_module libexec/mod_headers.so
[COLOR="Red"]#[/COLOR]LoadModule usertrack_module libexec/mod_usertrack.so
[COLOR="Red"]#[/COLOR]LoadModule log_forensic_module libexec/mod_log_forensic.so
[COLOR="Red"]#[/COLOR]LoadModule unique_id_module libexec/mod_unique_id.so
[COLOR="Red"]#[/COLOR]LoadModule setenvif_module libexec/mod_setenvif.so
# Reconstruction of the complete module list from all available modules
# (static and shared ones) to achieve correct module execution order.
# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
[COLOR="Red"]#[/COLOR]ClearModuleList
[COLOR="Red"]#[/COLOR]AddModule mod_vhost_alias.c
[COLOR="Red"]#[/COLOR]AddModule mod_env.c
[COLOR="Red"]#[/COLOR]AddModule mod_log_config.c
[COLOR="Red"]#[/COLOR]AddModule mod_mime_magic.c
[COLOR="Red"]#[/COLOR]AddModule mod_mime.c
[COLOR="Red"]#[/COLOR]AddModule mod_negotiation.c
[COLOR="Red"]#[/COLOR]AddModule mod_status.c
[COLOR="Red"]#[/COLOR]AddModule mod_info.c
[COLOR="Red"]#[/COLOR]AddModule mod_include.c
[COLOR="Red"]#[/COLOR]AddModule mod_autoindex.c
[COLOR="Red"]#[/COLOR]AddModule mod_dir.c
[COLOR="Red"]#[/COLOR]AddModule mod_cgi.c
[COLOR="Red"]#[/COLOR]AddModule mod_asis.c
[COLOR="Red"]#[/COLOR]AddModule mod_imap.c
[COLOR="Red"]#[/COLOR]AddModule mod_actions.c
[COLOR="Red"]#[/COLOR]AddModule mod_speling.c
[COLOR="Red"]#[/COLOR]AddModule mod_userdir.c
[COLOR="Red"]#[/COLOR]AddModule mod_alias.c
[COLOR="Red"]#[/COLOR]AddModule mod_rewrite.c
[COLOR="Red"]#[/COLOR]AddModule mod_access.c
[COLOR="Red"]#[/COLOR]AddModule mod_auth.c
[COLOR="Red"]#[/COLOR]AddModule mod_auth_anon.c
[COLOR="Red"]#[/COLOR]AddModule mod_digest.c
[COLOR="Red"]#[/COLOR]AddModule mod_proxy.c
[COLOR="Red"]#[/COLOR]AddModule mod_cern_meta.c
[COLOR="Red"]#[/COLOR]AddModule mod_expires.c
[COLOR="Red"]#[/COLOR]AddModule mod_headers.c
[COLOR="Red"]#[/COLOR]AddModule mod_usertrack.c
[COLOR="Red"]#[/COLOR]AddModule mod_log_forensic.c
[COLOR="Red"]#[/COLOR]AddModule mod_unique_id.c
[COLOR="Red"]#[/COLOR]AddModule mod_so.c
[COLOR="Red"]#[/COLOR]AddModule mod_setenvif.c
...
# wget ftp://xxx:[email protected]/apache_static.tar
Connecting to 192.168.178.254 (192.168.178.254:21)
apache_static.tar 100% |***********************************************************************************| 1690k 00:00:00 ETA
# tar xf apache_static.tar
#
# ./set_apache_config
Kein Port angegeben. Nutzung: ./set_apache_config <port> [<IP>]
# ./set_apache_config 8899
now you may start apache with the command
./apache_bin -f /var/tmp/apache/conf/apache.conf
#
# ps | grep apa | grep -v grep
#
# ./apache_bin -f /var/tmp/apache/conf/apache.conf
# ps | grep apa | grep -v grep
1343 root 2452 S ./apache_bin -f /var/tmp/apache/conf/apache.conf
1344 nobody 2476 S ./apache_bin -f /var/tmp/apache/conf/apache.conf
1345 nobody 2476 S ./apache_bin -f /var/tmp/apache/conf/apache.conf
#
# ./apache_bin -l
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_dbm.c
mod_authn_anon.c
mod_authn_dbd.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_dbm.c
mod_authz_owner.c
mod_authz_default.c
mod_auth_basic.c
mod_auth_digest.c
mod_dbd.c
mod_dumpio.c
mod_reqtimeout.c
mod_ext_filter.c
mod_include.c
mod_filter.c
mod_substitute.c
mod_deflate.c
mod_log_config.c
mod_logio.c
mod_env.c
mod_expires.c
mod_headers.c
mod_ident.c
mod_setenvif.c
mod_version.c
prefork.c
http_core.c
mod_mime.c
mod_dav.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_info.c
mod_cgi.c
mod_dav_fs.c
mod_vhost_alias.c
mod_negotiation.c
mod_dir.c
mod_imagemap.c
mod_actions.c
mod_speling.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_so.c
# ./apache_bin -v
Server version: Apache/2.2.17 (Unix)
Server built: Dec 8 2010 13:43:56
#
[Edit frank_m24: Vollzitat gelöscht, siehe Forumregeln.]
ScriptAlias /cgi-bin/ /var/media/ftp/WDCWD50-00AAVS-00ZTB0-01/apache/apache/cgi-bin/
Action php-script /var/media/ftp/WDCWD50-00AAVS-00ZTB0-01/apache/apache/cgi-bin/php
AddHandler php-script .php
Hier mal was, was diesmal sogar getestet ist ;-)
Anhang anzeigen 54625
Ist in dieser Form dafür gemacht, in /var/tmp zu laufen. Ggf "simple" Anpassung (Port, IP und Anlegen des Users "nobody") mit ./set_apache_config (siehe auch oben).
Ggf dann in den Ordner "apache" die eigen Dinge reinkopieren oder auf USB-Verzeichnisse verlinken...
Jörg
ScriptAlias /cgi-bin/ /var/media/ftp/WDCWD50-00AAVS-00ZTB0-01/apache/apache/cgi-bin/
Action php-script /cgi-bin/php
AddHandler php-script .php