Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/02/2011, 15:02
Igbar
 
Fecha de Ingreso: noviembre-2008
Mensajes: 25
Antigüedad: 15 años, 6 meses
Puntos: 0
Respuesta: Virus en Centos y Plesk

He probado a editar el httpd.conf y me lo han llenado de M al final de cada línea..

Esto es una parte del contenido del archivo, me extrañan mucho las líneas finales:



#^M
# The path to the end user account 'public_html' directory must be^M
# accessible to the webserver userid. This usually means that ~userid^M
# must have permissions of 711, ~userid/public_html must have permissions^M
# of 755, and documents contained therein must be world-readable.^M
# Otherwise, the client will only receive a "403 Forbidden" message.^M
#^M
# See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden^M
#^M
<IfModule mod_userdir.c>^M
#^M
# UserDir is disabled by default since it can confirm the presence^M
# of a username on the system (depending on home directory^M
# permissions).^M
#^M
UserDir disable^M
^M
#^M
# To enable requests to /~user/ to serve the user's public_html^M
# directory, remove the "UserDir disable" line above, and uncomment^M
# the following line instead:^M
# ^M
#UserDir public_html^M
^M
</IfModule>^M
^M
#^M
# Control access to UserDir directories. The following is an example^M
# for a site where these directories are restricted to read-only.^M
#^M
#<Directory /home/*/public_html>^M
# AllowOverride FileInfo AuthConfig Limit^M
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec^M
# <Limit GET POST OPTIONS>^M
# Order allow,deny^M
# Allow from all^M
# </Limit>^M
# <LimitExcept GET POST OPTIONS>^M
# Order deny,allow^M
# Deny from all^M
# </LimitExcept>^M
#</Directory>^M
^M
#^M
# DirectoryIndex: sets the file that Apache will serve if a directory^M
# is requested.^M
#^M
# The index.html.var file (a type-map) is used to deliver content-^M
# negotiated documents. The MultiViews Option can be used for the ^M
# same purpose, but it is much slower.^M
#^M
DirectoryIndex index.html index.html.var index.shtml index.cfm index.php index.htm^M
^M
#^M
# AccessFileName: The name of the file to look for in each directory^M
# for additional configuration directives. See also the AllowOverride^M
# directive.^M
#^M
AccessFileName .htaccess^M
^M
#^M
# The following lines prevent .htaccess and .htpasswd files from being ^M
# viewed by Web clients. ^M
#^M
<Files ~ "^\.ht">^M
Order allow,deny^M
Deny from all^M
</Files>^M
^M
#^M
Type :quit<Enter> to exit Vim

Última edición por Igbar; 25/02/2011 a las 15:09