D
D
DenimTornado2012-11-09 11:57:59
Drupal
DenimTornado, 2012-11-09 11:57:59

Windows Server 2008, Drupal 7, Pathauto issue?

Hello!
There is the following configuration:
Windows Server 2008 R2
PHP 5.3
Mysql
Drupal 7 (I installed it myself)
As a result, we have a working site, clean links ( mysite/user opens well), but alias links created by pathauto do not work.
The site is in a subdirectory.
Where to dig? Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DenimTornado, 2012-11-09
@DenimTornado

So, the complete solution (it is assumed that PHP, MySQL, Drupal are already installed on IIS):
1. Install URL rewrite
2. Install Fast CGI
3. Put a hotfix on URL rewrite support.microsoft.com/kb/2277918
4. Fix Cyrillic URLs with aliases. Go to bootstrap.inc on line 1543

return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');

on the
if (drupal_validate_utf8($text)) return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
return htmlspecialchars($text, ENT_QUOTES);

Solution from here - www.drupal.ru/comment/reply/65149/413814
5. Correcting Cyrillic queries in the search. Go to dblog.module, line 152 and change
'location' => $log_entry['request_uri']

on the
'location' => urlencode($log_entry['request_uri']),

Solution from here - drupal.org/node/1266452
6. Profit

C
cat_crash, 2012-11-09
@cat_crash

specify the web server under which everything is set up

C
cat_crash, 2012-11-09
@cat_crash

I dare to assume that the problem is in the web server settings. Standard modules are mostly "sharpened" for apache and its .htaccesss
Try looking for a thread like pathauto IIS or pathauto web.config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question