Bienvenido(a) a Alcance Libre 06/09/2025, 00:42
|
![]() |
Índice del foro > Todo acerca de Linux > Programas y Aplicaciones |
![]() ![]() |
![]() |
zankow |
|
|||||||
![]() ![]() ![]() ![]() ![]() Moderador ![]() Estado: desconectado ![]() Identificado: 19/02/07 Mensajes: 24 Localización:Nuevo León |
debido a mis vacaciones permanentes
![]() que basicamente te dice como instalar apache php y mysql-server, crear la cuenta en dyndns, configurar apache, primero agregando AddDefaultCharset ISO-8859-1 en el archivo apache2.conf luiego modificando el archivo default que se encuentra en /etc/apache2/sities-avaibles y dejandolo asi: NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin zankow@gmail.com DocumentRoot /var/www/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place # Commented out for Ubuntu RedirectMatch ^/$ /apache2-default/ #descomentar para no permitir que vean directorio raiz </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 /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On 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> <VirtualHost *:80> # señalamos que hay un espacio para un sitio independiente ServerName zankowito.ath.cx # Nombre del dominio que dimos de alta en la cuenta que se creo en DynDns DocumentRoot /var/www/apache2-default # el lugar donde sera el directorio base de dicho sitio en la PC(esta la pagina) DirectoryIndex index.php index.html index.htm index.shtml # Archivos que debera buscar para iniciar la pagina principal. </virtualhost> luego cxambiar el puerto de escucha del apache en /etc/apache2/ports.conf, que lo deje como esta, pero ya cuando llego a la parte de sudo /etc/init.d/apache2 start, me aparece este mensaje: * Starting web server apache2 Syntax error on line 49 of /etc/apache2/sites-enabled/000-default: ServerName takes one argument, The hostname and port of the server httpd (pid 10712) already running alguna idea???, muchas gracias. Zankow |
|||||||
|
||||||||
Contenido generado en: 0.06 segundos |
![]() ![]() |
Todas las horas son CST. Hora actual 12:42 . |
|
|