U Apaču isključi MultiViews opciju u httpd.conf ili u .htaccess. MultiViews deluje pre mod_rewrite, tako da Apache pokušava da nađe neki file koji liči na /contact-us i verovatno pravi grešku, a tek onda stvar preuzima mod_rewrite. Često pravi probleme, pogotovu u kombinaciji sa mod_rewrite, pa moguće da je i kod tebe to problem.
Citat:
Multiviews
MultiViews is a per-directory option, meaning it can be set with an Options directive within a <Directory>, <Location> or <Files> section in httpd.conf, or (if AllowOverride is properly set) in .htaccess files. Note that Options All does not set MultiViews; you have to ask for it by name.
The effect of MultiViews is as follows: if the server receives a request for /some/dir/foo, if /some/dir has MultiViews enabled, and /some/dir/foo does not exist, then the server reads the directory looking for files named foo.*, and effectively fakes up a type map which names all those files, assigning them the same media types and content-encodings it would have if the client had asked for one of them by name. It then chooses the best match to the client's requirements.
http://httpd.apache.org/docs/2.0/con...gotiation.html
|