Ver Mensaje Individual
  #4 (permalink)  
Antiguo 20/07/2011, 02:46
Avatar de manyblue
manyblue
 
Fecha de Ingreso: marzo-2008
Mensajes: 329
Antigüedad: 16 años, 1 mes
Puntos: 10
Respuesta: Problema Ubuntu Lamp php

Creo tener controlado lo del virtual host.
Solo copio el que ya existe en /etc/apache2/sites-enable/default y lo pego en el mismo sitio con diferente nombre por ejemplo /etc/apache2/sites_available/pepe.

Vario a antojo los valores en rojo:

<VirtualHost 192.168.1.35:80>
ServerAdmin [email protected]
ServerName www.xxxxxxxx.com

DocumentRoot /var/www
DirectoryIndex index.php index.html index.htm
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/access.log combined

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

</VirtualHost>

Despues lo copio tambien a /etc/apache2/sites-enabled/pepe
Reinicio el sistema o apache.
Dime si es correcto ???

Mi principal problema sigue siendo el que php o lo que sea no me deja enviar los emails de confirmacion ni los formularios y no se que tiene que ver con esto, no consigo dar con el problema.

Un saludo y gracias por tu tiempo.