Monthly Archives: October 2011

apache hacer tu home como acesible

ip/~tunombre/

hay que habilitar el userdir.conf

a2enmod userdir

copio el que tengo aqui

<IfModule mod_userdir.c>

UserDir public_html

UserDir disabled root

<Directory /home/*/public_html>

AllowOverride FileInfo AuthConfig Limit Indexes

Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

<Limit GET POST OPTIONS>

Order allow,deny

Allow from all

</Limit>

<LimitExcept GET POST OPTIONS>

Order deny,allow

Deny from all

</LimitExcept>

</Directory>

#        <Directory /home/*/public_html/*/cgi-bin/>

#               Options ExecCGI

#               SetHandler cgi-script

#       </Directory>

#       <Directory /home/*/public_html/cgi-bin/*/adsl_web>

#               Options ExecCGI

#               SetHandler cgi-script

#       </Directory>

#       <Directory /home/*/public_html/bt_adsl/perl/trunk/cgi-bin/adsl_web/>

#                Options ExecCGI

#                SetHandler cgi-script

#        </Directory>

<Directory /home/*/public_html/repository/bt_adsl/perl/trunk/cgi-bin/adsl_web/>

Options ExecCGI

SetHandler cgi-script

</Directory>

</IfModule>

~

Error en apache

“Could not reliably determine the server’s fully qualified domain name, using … for ServerName”

http://russenreaktor.wordpress.com/2010/04/17/solved-%E2%80%9Ccould-not-reliably-determine-the-server%E2%80%99s-fully-qualified-domain-name-using-for-servername%E2%80%9D/

You might probably faced the same following error while you were restarting the Apache server on Ubuntu.

$ sudo /etc/init.d/apache2 restart

* Restarting web server apache2                                                apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

… waiting apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

To fix that problem, you need to edit the httpd.conf file. Open the terminal and type,

$ sudo gedit /etc/apache2/httpd.conf

By default httpd.conf file will be blank. Now, simply add the following line to the file.

ServerName localhost

Save the file and exit from gEdit.

Finally restart the server.

$ sudo /etc/init.d/apache2 restart

——–

el apache se puede reiniciar con service apache2 restart