You are not logged in.

#1 2010-01-11 07:31:54

martvefun
Member
From: The Internets
Registered: 2009-12-19
Posts: 174

run an apache server (newbie inside)

Hello,

I wanted to try the self-hosting on my computer. So I installed apache, php, php-apache yesterday.
I've added "httpd" in the /etc/rc.conf and "127.0.0.1 localhost.localdomain localhost" in /etc/hosts

Yesterday at first it didn't work and suddenly (that mean I don't know what I did wink ) it wroked.
Today I restart the computer, go to "http://localhost/index.html" (I even don't try the php yet) : error, failed to connect

# /etc/rc.d/httpd start
:: Starting Apache Web Server                                            [FAIL] 
# sudo /etc/rc.d/httpd status
:: Checking Apache Web Server status                                  [STOPPED] 
# /etc/rc.d/httpd reload
:: Reloading Apache Web Server                                           [FAIL]

thank you

edit : huuuum maybe look that way

# /usr/sbin/apachectl start
httpd: Syntax error on line 121 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache2/modules/mod_python.so into server: /usr/lib/apache2/modules/mod_python.so: cannot open shared object file: No such file or directory

ok I've put a '#' before that line (it was a previous test with django). It succeed to start with "/etc/rc.d/httpd start" but still error when I want to go to http://localhost/


edit2 hooo I had some other lines about django at the end
ok it works now smile

Last edited by martvefun (2010-01-11 08:05:15)


English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro

Offline

Board footer

Powered by FluxBB