Recent Topics

1 Feb 09, 2013 17:49    

With b2evo 4.1.6

I'm unable to run the blog with any path-like URL active.

For the posts URL choices
Utiliser param: post IDEx:http://circus.radiomeuh.com/?p=123&more=1 =>OK
Utiliser param: titre URLEx:http://circus.radiomeuh.com/?title=post-title&more=1 =>OK
Utiliser chemin étendu: titre URL du postEx:http://circus.radiomeuh.com/post-title
.....
and all choice above => ERR 404

Categories URLS
Utiliser param: cat IDEx:http://circus.radiomeuh.com/?cat=123 =>OK
Utiliser chemin étendu: sous-catégorieEx:http://circus.radiomeuh.com/subcat/ =>ERR 404
Utiliser chemin étendu: chemin d'accès à la catégorieEx:http://circus.radiomeuh.com/cat/subcat/ =>ERR 404

and so on the others URL options.

I suspect a apache misconfiguration so here is my conf

<VirtualHost *:80>
ServerName *.radiomeuh.com

UseCanonicalName Off

ServerAdmin webmaster@localhost

DocumentRoot /var/www/blog/

DirectoryIndex index_multi.php index.php index.html
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/blog >
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

RewriteEngine On
RewriteOptions Inherit
RewriteLog "/var/log/apache2/rewrite.log"
RewriteLogLevel 5

CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

and my .htaccess

# Apache configuration for the blog folder
# Lines starting with # are considered as comments.

# PHP SECURITY:
# this will make register globals off in the evo directory
<IfModule mod_php4.c>
php_flag register_globals off
</IfModule>
<IfModule mod_php5.c>
php_flag register_globals off
</IfModule>

# PHP5
# This may need to be in each folder:
AddHandler application/x-httpd-php5 .php
php_value display_errors On
php_value error_reporting E_ALL

# CLEAN URLS:
# If you're using Apache 2, you may wish to try this if clean URLs don't work:
AcceptPathInfo On

# DEFAULT DOCUMENT TO DISPLAY:
# this will select the default blog template to be displayed
# if the URL is just .../blogs/
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>

# CATCH EVERYTHING INTO B2EVO:
# The following will allow you to have a blog running right off the site root,
# using index.php as a stub but not showing it in the URLs.
# This will add support for URLs like: http://example.com/2006/08/29/post-title

LogLevel alert rewrite:trace8
<IfModule mod_rewrite.c>
RewriteEngine On

# This line may be needed or not.
# enabling this would prevent running ina subdir like /blog/index.php
# This has been disabled in v 4.0.0-alpha. Please let us know if you find it needs to be enabled.
# RewriteBase /

# Redirect anything that's not an existing directory or file to index.php:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ /index.php/$1 [L,QSA]
#RewriteRule ^ index.php
</IfModule>

Thanks for every clue


Form is loading...