Per comodità in locale non installo a manina Apache, MySQL, PHP e Perl ma mi rivolgo a WM Server Tools .
Ora in locale Wordpress non mi fa la riscrittura dell'url.
Questo è l'httpd.conf
Come lo devo modificare?codice:Listen 80 ServerRoot "/WM/Apache-2.0.54" DocumentRoot "/WM/www" ServerName localhost ServerAdmin mail@localhost ServerSignature On ServerTokens Full DefaultType text/plain #AddDefaultCharset ISO-8859-1 UseCanonicalName Off HostnameLookups Off ErrorLog logs/error.log LogLevel error PidFile logs/httpd.pid Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 <IfModule mpm_winnt.c> ThreadsPerChild 250 MaxRequestsPerChild 0 </IfModule> LoadModule info_module modules/mod_info.so LoadModule deflate_module modules/mod_deflate.so LoadModule status_module modules/mod_status.so LoadModule headers_module modules/mod_headers.so LoadModule access_module modules/mod_access.so LoadModule actions_module modules/mod_actions.so LoadModule alias_module modules/mod_alias.so LoadModule asis_module modules/mod_asis.so LoadModule auth_module modules/mod_auth.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule cgi_module modules/mod_cgi.so LoadModule dir_module modules/mod_dir.so LoadModule env_module modules/mod_env.so LoadModule imap_module modules/mod_imap.so LoadModule include_module modules/mod_include.so LoadModule isapi_module modules/mod_isapi.so LoadModule log_config_module modules/mod_log_config.so LoadModule mime_module modules/mod_mime.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule userdir_module modules/mod_userdir.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule php4_module "/WM/php-4.3.11/sapi/php4apache2.dll" <Directory /> <IfModule mod_deflate.c> SetOutputFilter DEFLATE <IfModule mod_headers.c> Header append Vary User-Agent </IfModule> </IfModule> Options FollowSymLinks AllowOverride None order deny,allow deny from all </Directory> <Directory "/WM/www"> Options Indexes FollowSymLinks order allow,deny allow from all </Directory> <IfModule mod_log_config.c> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined CustomLog logs/access.log combined <IfModule mod_deflate.c> DeflateFilterNote Input instream DeflateFilterNote Output outstream DeflateFilterNote Ratio ratio LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate CustomLog logs/deflate.log deflate </IfModule> </IfModule> <IfModule mod_dir.c> DirectoryIndex index.htm index.html index.php index.php3 index.php4 index.pl index.cgi index.phtml </IfModule> <IfModule mod_mime.c> TypesConfig conf/mime.types AddType application/x-tar .tgz AddType application/x-rar-compressed .rar <IfModule sapi_apache2.c> AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps </IfModule> </IfModule> <IfModule mod_setenvif.c> BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully BrowserMatch "^gnome-vfs" redirect-carefully <IfModule mod_deflate.c> BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html </IfModule> </IfModule> <IfModule mod_status.c> ExtendedStatus On <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 </Location> </IfModule> <IfModule mod_info.c> <Location /server-info> SetHandler server-info Order deny,allow Deny from all Allow from 127.0.0.1 </Location> </IfModule> ScriptAlias /cgi-bin/ "/WM/www/cgi-bin/" <Directory "/WM/www/cgi-bin"> AllowOverride None Options Includes ExecCGI AddHandler server-parsed .shtml AddHandler cgi-script .cgi .pl Order allow,deny Allow from all </Directory> Alias /icons/ "icons/" <Directory "icons/"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> IndexOptions FancyIndexing VersionSort AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ DefaultIcon /icons/unknown.gif
e grazie

e grazie
Rispondi quotando
