np.coś takiego
Kod
Warning: fsockopen() [function.fsockopen]: unable to connect to...
Próbowałem zmieniać w httpd.conf, ale nic nie pomogło. Apacha mam w folderze c:\Apache2
manuala w d:\www\htdocs\phpmanual
Tutaj coś zmieniałem, ale pokazuje wersje pierwszą:
Kod
AliasMatch ^/manual(?:/(?:pl|en|es|fr|ja|ko|ru))?(/.*)?$ "C:/Apache2/manual$1"
<Directory "C:/Apache2/manual">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
<Files *.html>
SetHandler type-map
</Files>
SetEnvIf Request_URI ^/manual/(pl|en|es|fr|ja|ko|ru)/ prefer-language=$1
RedirectMatch 301 ^/manual(?:/(pl|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
</Directory>
<Directory "C:/Apache2/manual">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
<Files *.html>
SetHandler type-map
</Files>
SetEnvIf Request_URI ^/manual/(pl|en|es|fr|ja|ko|ru)/ prefer-language=$1
RedirectMatch 301 ^/manual(?:/(pl|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
</Directory>