hoe check je dat?quote:Op zaterdag 30 juni 2012 18:43 schreef NightH4wk het volgende:
Wordt de module geladen in je httpd.conf?
moet ik dat hier in pasten?quote:
Wat bedoel je? In de output kan je zien welke httpd.conf hij gebruikt en waar deze staat.quote:
quote:Op zaterdag 30 juni 2012 20:51 schreef NightH4wk het volgende:
[..]
Wat bedoel je? In de output kan je zien welke httpd.conf hij gebruikt en waar deze staat.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | Server version: Apache/2.2.22 (Ubuntu) Server built: Feb 13 2012 01:37:27 Server's Module Magic Number: 20051115:30 Server loaded: APR 1.4.6, APR-Util 1.3.12 Compiled using: APR 1.4.5, APR-Util 1.3.12 Architecture: 32-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/etc/apache2" -D SUEXEC_BIN="/usr/lib/apache2/suexec" -D DEFAULT_PIDLOG="/var/run/apache2.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="mime.types" -D SERVER_CONFIG_FILE="apache2.conf" |
die httpd.conf staat alleen in /etc/apache2quote:Op zaterdag 30 juni 2012 20:57 schreef NightH4wk het volgende:
/etc/apache2/apache2.conf
Die dus? Of kijk of er ergens een default apache2/httpd.conf ergens staat (met locate) en kopieer die.
Die /etc/apache2/apache2.conf bestaat dus en heeft informatie?quote:Op zaterdag 30 juni 2012 20:59 schreef gogosweden het volgende:
[..]
die httpd.conf staat alleen in /etc/apache2
Waar moet ik precies op letten in de apache2.conf ?
ja.quote:Op zaterdag 30 juni 2012 21:01 schreef NightH4wk het volgende:
[..]
Die /etc/apache2/apache2.conf bestaat dus en heeft informatie?
Bij die LoadModule sectie (is een hele lijst) kijken of hij python laadt.
Welke files staan er in die dirs?quote:Op zaterdag 30 juni 2012 21:05 schreef gogosweden het volgende:
[..]
ja.
die LoadModule sectie staat er niet in
( ook voor de zekerheid de zoekfunctie nog gebruikt in nano )
EDIT:
ik zag wel dit:
# Include module configuration:
Include mods-enabled/*.load
Include mods-enabled/*.conf
in de mods-availble staan deze:quote:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | lrwxrwxrwx 1 root root 28 Jun 25 18:14 alias.conf -> ../mods-available/alias.conf lrwxrwxrwx 1 root root 28 Jun 25 18:14 alias.load -> ../mods-available/alias.load lrwxrwxrwx 1 root root 33 Jun 25 18:14 auth_basic.load -> ../mods-available/auth_basic.load lrwxrwxrwx 1 root root 33 Jun 25 18:14 authn_file.load -> ../mods-available/authn_file.load lrwxrwxrwx 1 root root 36 Jun 25 18:14 authz_default.load -> ../mods-available/authz_default.load lrwxrwxrwx 1 root root 38 Jun 25 18:14 authz_groupfile.load -> ../mods-available/authz_groupfile.load lrwxrwxrwx 1 root root 33 Jun 25 18:14 authz_host.load -> ../mods-available/authz_host.load lrwxrwxrwx 1 root root 33 Jun 25 18:14 authz_user.load -> ../mods-available/authz_user.load lrwxrwxrwx 1 root root 32 Jun 25 18:14 autoindex.conf -> ../mods-available/autoindex.conf lrwxrwxrwx 1 root root 32 Jun 25 18:14 autoindex.load -> ../mods-available/autoindex.load lrwxrwxrwx 1 root root 26 Jun 25 18:14 cgi.load -> ../mods-available/cgi.load lrwxrwxrwx 1 root root 30 Jun 25 18:14 deflate.conf -> ../mods-available/deflate.conf lrwxrwxrwx 1 root root 30 Jun 25 18:14 deflate.load -> ../mods-available/deflate.load lrwxrwxrwx 1 root root 26 Jun 25 18:14 dir.conf -> ../mods-available/dir.conf lrwxrwxrwx 1 root root 26 Jun 25 18:14 dir.load -> ../mods-available/dir.load lrwxrwxrwx 1 root root 26 Jun 25 18:14 env.load -> ../mods-available/env.load lrwxrwxrwx 1 root root 27 Jun 25 18:14 mime.conf -> ../mods-available/mime.conf lrwxrwxrwx 1 root root 27 Jun 25 18:14 mime.load -> ../mods-available/mime.load lrwxrwxrwx 1 root root 34 Jun 25 18:14 negotiation.conf -> ../mods-available/negotiation.conf lrwxrwxrwx 1 root root 34 Jun 25 18:14 negotiation.load -> ../mods-available/negotiation.load lrwxrwxrwx 1 root root 27 Jun 25 18:14 php5.conf -> ../mods-available/php5.conf lrwxrwxrwx 1 root root 27 Jun 25 18:14 php5.load -> ../mods-available/php5.load lrwxrwxrwx 1 root root 29 Jun 30 14:01 python.load -> ../mods-available/python.load lrwxrwxrwx 1 root root 33 Jun 25 18:14 reqtimeout.conf -> ../mods-available/reqtimeout.conf lrwxrwxrwx 1 root root 33 Jun 25 18:14 reqtimeout.load -> ../mods-available/reqtimeout.load lrwxrwxrwx 1 root root 31 Jun 25 18:14 setenvif.conf -> ../mods-available/setenvif.conf lrwxrwxrwx 1 root root 31 Jun 25 18:14 setenvif.load -> ../mods-available/setenvif.load lrwxrwxrwx 1 root root 29 Jun 25 18:14 status.conf -> ../mods-available/status.conf lrwxrwxrwx 1 root root 29 Jun 25 18:14 status.load -> ../mods-available/status.load |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | lrwxrwxrwx 1 root root 28 Jun 25 18:14 alias.conf -> ../mods-available/alias.conf lrwxrwxrwx 1 root root 28 Jun 25 18:14 alias.load -> ../mods-available/alias.load lrwxrwxrwx 1 root root 33 Jun 25 18:14 auth_basic.load -> ../mods-available/auth_basic.load lrwxrwxrwx 1 root root 33 Jun 25 18:14 authn_file.load -> ../mods-available/authn_file.load lrwxrwxrwx 1 root root 36 Jun 25 18:14 authz_default.load -> ../mods-available/authz_default.load lrwxrwxrwx 1 root root 38 Jun 25 18:14 authz_groupfile.load -> ../mods-available/authz_groupfile.load lrwxrwxrwx 1 root root 33 Jun 25 18:14 authz_host.load -> ../mods-available/authz_host.load lrwxrwxrwx 1 root root 33 Jun 25 18:14 authz_user.load -> ../mods-available/authz_user.load lrwxrwxrwx 1 root root 32 Jun 25 18:14 autoindex.conf -> ../mods-available/autoindex.conf lrwxrwxrwx 1 root root 32 Jun 25 18:14 autoindex.load -> ../mods-available/autoindex.load lrwxrwxrwx 1 root root 26 Jun 25 18:14 cgi.load -> ../mods-available/cgi.load lrwxrwxrwx 1 root root 30 Jun 25 18:14 deflate.conf -> ../mods-available/deflate.conf lrwxrwxrwx 1 root root 30 Jun 25 18:14 deflate.load -> ../mods-available/deflate.load lrwxrwxrwx 1 root root 26 Jun 25 18:14 dir.conf -> ../mods-available/dir.conf lrwxrwxrwx 1 root root 26 Jun 25 18:14 dir.load -> ../mods-available/dir.load lrwxrwxrwx 1 root root 26 Jun 25 18:14 env.load -> ../mods-available/env.load lrwxrwxrwx 1 root root 27 Jun 25 18:14 mime.conf -> ../mods-available/mime.conf lrwxrwxrwx 1 root root 27 Jun 25 18:14 mime.load -> ../mods-available/mime.load lrwxrwxrwx 1 root root 34 Jun 25 18:14 negotiation.conf -> ../mods-available/negotiation.conf lrwxrwxrwx 1 root root 34 Jun 25 18:14 negotiation.load -> ../mods-available/negotiation.load lrwxrwxrwx 1 root root 27 Jun 25 18:14 php5.conf -> ../mods-available/php5.conf lrwxrwxrwx 1 root root 27 Jun 25 18:14 php5.load -> ../mods-available/php5.load lrwxrwxrwx 1 root root 29 Jun 30 14:01 python.load -> ../mods-available/python.load lrwxrwxrwx 1 root root 33 Jun 25 18:14 reqtimeout.conf -> ../mods-available/reqtimeout.conf lrwxrwxrwx 1 root root 33 Jun 25 18:14 reqtimeout.load -> ../mods-available/reqtimeout.load lrwxrwxrwx 1 root root 31 Jun 25 18:14 setenvif.conf -> ../mods-available/setenvif.conf lrwxrwxrwx 1 root root 31 Jun 25 18:14 setenvif.load -> ../mods-available/setenvif.load lrwxrwxrwx 1 root root 29 Jun 25 18:14 status.conf -> ../mods-available/status.conf lrwxrwxrwx 1 root root 29 Jun 25 18:14 status.load -> ../mods-available/status.load |
hmm. die test.py werkt wel. en in die website van mij zie ik nu in plaats van die codes alleen maar een blank veld.quote:Op zaterdag 30 juni 2012 21:16 schreef NightH4wk het volgende:
Ok, hij wordt dus iig geladen.
http://www.howtoforge.com(...)d_python-debian-etch
AddHandler oid erbij?
Forum Opties | |
---|---|
Forumhop: | |
Hop naar: |