some funky requests to assets

Post Reply
Jr. Bludit
Posts: 1
Joined: Sat Mar 18, 2017 8:59 pm

Sat Mar 18, 2017 9:35 pm

hello everyone,

i have "successfully" deployed bludit to our dev site as alias /blog. there were some hickups with .htaccess and web.config, but i think i sorted it out.

everything loads ok, except when adding new post. the browser calls GET to
%22%22 ("")and
%20+%20filename%20+%20 ( + filename + ).

as bludit resides under the calls are made to and'%20+% ... ame%20+%20'.

referer is

i think that the problem might be with some js calls, but i didn't digg that deep into the code.
my vhost config for local dev:

Code: Select all

<VirtualHost *:80>
	DocumentRoot c:/wamp64/www/devel/webroot
	#Options Indexes FollowSymLinks MultiViews
	#AllowOverride All
	#Require all granted
	<IfModule alias_module>
		Alias "/blog" "c:/wamp64/www/devel/blog/"
	<Directory "c:/wamp64/www/devel/blog">
		DirectoryIndex index.php
		RewriteEngine on
		RewriteBase /blog/
		RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L]
		RewriteCond %{REQUEST_FILENAME} !-f
		RewriteRule (.*) index.php [PT,L]
	<Directory c:/wamp64/www/devel>
		# use mod_rewrite for pretty URL support
		RewriteEngine on
		# If a directory or a file exists, use the request directly
		RewriteCond %{REQUEST_FILENAME} !-f
		RewriteCond %{REQUEST_FILENAME} !-d
		# Otherwise forward the request to index.php
		RewriteRule . index.php

		# use index.php as index file
		DirectoryIndex index.php

		# ...other settings...
		<IfModule mod_rewrite.c>
			RewriteEngine on
			RewriteCond %{REQUEST_FILENAME} !-f
			RewriteCond %{REQUEST_FILENAME} !-d
			RewriteRule . index.php
			Order allow,deny
			allow from all
	ErrorLog "error_devel.log"
	CustomLog "access_devel.log" common
and my web.config on azure is:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
            <remove fileExtension=".eot" />
			  <mimeMap fileExtension=".eot" mimeType="application/" />
			  <remove fileExtension=".ttf" />
			  <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
			  <remove fileExtension=".svg" />
			  <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
			  <remove fileExtension=".woff" />
			  <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
			  <remove fileExtension=".woff2" />
			  <mimeMap fileExtension=".woff2" mimeType="application/font-woff" />
		    <clientCache cacheControlCustom="public" cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00" />
                <rule name="Blogging system protect content" stopProcessing="true">
                    <match url="^blog/bl-content/(.*)\.txt$"/>
                    <action type="None"/>
                <rule name="Blogging system assets" stopProcessing="true">
                    <match url="^blog/(bl-kernel|bl-themes|bl-plugins|bl-languages)(.*)"/>
                    <action type="Rewrite" url="blog/{R:1}{R:2}" appendQueryString="true"/>
                <rule name="Blogging system" stopProcessing="true">
                    <match url="^blog(.*)$" ignoreCase="false"/>
                    <action type="Rewrite" url="blog/index.php" appendQueryString="true"/>
                <rule name="Exclude direct access to webroot/*" stopProcessing="true">
                    <match url="^webroot/(.*)$" ignoreCase="false"/>
                    <action type="None"/>
                <rule name="Rewrite routed access to assets(img, css, files, js, favicon)" stopProcessing="true">
                    <match url="^(img|css|files|js|fonts|templates|adminer|info|roboto|favicon.ico)(.*)$"/>
                    <action type="Rewrite" url="webroot/{R:1}{R:2}" appendQueryString="false"/>
                <rule name="Rewrite requested file/folder to index.php" stopProcessing="true">
                    <match url="^(.*)$" ignoreCase="false"/>
                    <action type="Rewrite" url="index.php" appendQueryString="true"/>
        <validation validateIntegratedModeConfiguration="false"/>
        <customErrors mode="Off"/>
thank you for this wonderful product. as someone already said it blows the roof of wordpress.
Post Reply