FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


help to configure apache2 and mod_python [NOT SHORT]





elekis
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

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+++
grantmaster
<quote>and httpd.conf is empty. </quote> I don't think this is correct.

Is Apache up and running on your local machine? Although it says no http://localhost/ you may be able to test it from http://127.0.0.1

It's really easy to get a webserver test environment up and running using LAMP. Google and you shall find...
Related topics
Help : Fedora Core 4 + Ubuntu
U.S.: EU trade offer falls short
Help Installing MySQL on SuSE Linux using ssh
Remote Desktop Problem
Need help on how to design a website
Php as text and short urls.
UBUNTU HELP!!
Is ISAPI Supported?
question about .htaccess mod_python with publisher mod
configure: error: xml2-config not found. Need help!
Never thought I'd do this.
"Emergency" in Pakistan :(
The prime directive
10 Tips for Stress-Free Work
Reply to topic    Frihost Forum Index -> Computers -> Computer Problems and Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.