Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[fixed] Clean URL test failed
Hi, smart people.
I have a server which is failing the clean URL test, and I can’t figure out why. I’ve confirmed mod_rewrite
is installed and enabled:
$ sudo a2enmod rewrite
Module rewrite already enabled.
I’ve tried uncommenting RewriteBase
from the stock .htaccess
and setting the web path, no dice. Messy URLs work fine. Any ideas would be very gratefully appreciated. Thank you in advance.
Anonymised diagnostics:
Textpattern version: 4.5.5 (r5575)
Last update: 2014-07-05 14:28:18/2014-07-05 12:59:30
Document root: /var/www/vhosts/example.com/www
$path_to_site: /var/www/vhosts/example.com/www
Textpattern path: /var/www/vhosts/example.com/www/textpattern
Permanent link mode: section_title
Temporary directory path: /tmp
Site URL: www.example.com
PHP version: 5.5.9-1ubuntu4.2
GD Graphics Library: unavailable
Server TZ: America/New_York
Server local time: 2014-07-11 05:47:19
DST enabled?: 0
Automatically adjust DST setting?: 0
Time zone: Europe/London (0)
MySQL: 5.5.37-0ubuntu0.14.04.1
Locale: en_GB.UTF-8
Server: Apache/2.4.7 (Ubuntu)
Apache version: Apache/2.4.7 (Ubuntu)
PHP server API: apache2handler
RFC 2616 headers:
Server OS: Linux 3.13.0-24-generic
Active plugins: rah_replace-0.4.2
Admin-side theme: classic 4.5.5
Pre-flight check:
------------------------
Image directory is not writable: /var/www/vhosts/example.com/www/images
File directory path is not writable: /var/www/vhosts/example.com/www/files
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority,
Clean URL test failed.
------------------------
.htaccess file contents:
------------------------
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
# SVG
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
------------------------
Last edited by gaekwad (2014-07-11 10:46:33)
Offline
Re: [fixed] Clean URL test failed
Solved it – missing an AllowOverride
in the vhost config:
<Directory /var/www/vhosts/example.com/www>
AllowOverride All
</Directory>
Offline
Pages: 1