hi.
discover frihost support mod_python and cgi (I ve just understand it's two thing different ) and like I know python
I said my-self , why not try python like a script.
so the first time was to ty in direct with frih server . every thing is perfect, all work (even .htaccess)
so now , the main goal is to install mod_python under a localhost (for performance system and cause I haven't always internet)
and that is a prob. I don't know why but the script always wanna be downloaded (under my localhost) and not executed.
I tried like they said here
http://www.modpython.org/live/current/doc-html/inst-apacheconfig.html
but nothing change.
there is config file. if any poeple has idea.
/etc/hosts
the /etc/apache2/apache2.conf
http://pastebin.com/757242
and httpd.conf is empty.
other thing when I restart apache2 I have a trouble msg.
ask if you need something else
a+++
discover frihost support mod_python and cgi (I ve just understand it's two thing different ) and like I know python
I said my-self , why not try python like a script.
so the first time was to ty in direct with frih server . every thing is perfect, all work (even .htaccess)
so now , the main goal is to install mod_python under a localhost (for performance system and cause I haven't always internet)
and that is a prob. I don't know why but the script always wanna be downloaded (under my localhost) and not executed.
I tried like they said here
http://www.modpython.org/live/current/doc-html/inst-apacheconfig.html
but nothing change.
there is config file. if any poeple has idea.
/etc/hosts
| Code: |
|
elekis@carla:~$ cat /etc/hosts 127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts elekis@carla:~$ |
the /etc/apache2/apache2.conf
http://pastebin.com/757242
and httpd.conf is empty.
other thing when I restart apache2 I have a trouble msg.
| Code: |
|
elekis@carla:~$ sudo /etc/init.d/apache2 restart sudo: unable to lookup carla via gethostbyname() Password: * Forcing reload of apache 2.0 web server... [Sun Jun 04 11:37:17 2006] [warn] module python_module is already loaded, skipping apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Sun Jun 04 11:37:18 2006] [warn] module python_module is already loaded, skipping apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ ok ] elekis@carla:~$ |
ask if you need something else
a+++
