Comments (17)
I just added functionality that should maybe adapt now to a rewritten path. You want to try?
from css-js-booster.
yes of course, i added '/'. in code atm :D
from css-js-booster.
Did you download and are you referring to the new Booster I checked in some ten minutes ago to fix that?
from css-js-booster.
By the way: have a telephone conference call starting now... so I will appear a lot more quiet from now on...
from css-js-booster.
my last comment was saying "i will try it very soon" (tomorrow morning) and tell you back :)
#> apt-get install english-language
from css-js-booster.
oops my last comment came with a joke that resulted in a big bold text lol will stop doing funny things on github
from css-js-booster.
hey hi i just tested it, now the path is always "./BOOSTER-.." on every "page" i visit so it doesnt work either.
What about a configuration parameter to tell where's the base folder of css js booster form the webroot ?
from css-js-booster.
This would be the resort if I cannot get it to adjust automatically. The less you need to configure, the better.
May I ask you to put the following into your mod_rewritten PHP-file, which includes the Booster, and pasting as much as you are willing back here again?
for($i=0;$i<sizeof($_SERVER);$i++)
{
echo '$_SERVER['.key($_SERVER).'] = '.$_SERVER[key($_SERVER)].'<br />';
next($_SERVER);
}
from css-js-booster.
from http://zeroload.net.local/prestations/ :
$_SERVER[REDIRECT_STATUS] = 200
$_SERVER[HTTP_HOST] = zeroload.net.local
$_SERVER[HTTP_USER_AGENT] = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
$_SERVER[HTTP_ACCEPT] = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
$_SERVER[HTTP_ACCEPT_LANGUAGE] = fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
$_SERVER[HTTP_ACCEPT_ENCODING] = gzip,deflate
$_SERVER[HTTP_ACCEPT_CHARSET] = ISO-8859-1,utf-8;q=0.7,*;q=0.7
$_SERVER[HTTP_KEEP_ALIVE] = 115
$_SERVER[HTTP_CONNECTION] = keep-alive
$_SERVER[HTTP_REFERER] = http://zeroload.net.local/
$_SERVER[HTTP_COOKIE] = sessionid=YToyOntzOjE4OiJfUFhfUGx1Zl9Vc2VyX2F1dGgiO2k6MTtzOjE2OiJQbHVmX1Nlc3Npb25fa2V5IjtzOjMyOiJiYWIxOTY1ZWVkMjM1N2M0N2EwMGM4NTM1MTc2YTM4OSI7fQ%3D%3D1963bd9e72c4e4973e0395a72184a486
$_SERVER[PATH] = /usr/local/bin:/usr/bin:/bin
$_SERVER[SERVER_SIGNATURE] =
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch Server at zeroload.net.local Port 80
$_SERVER[SERVER_SOFTWARE] = Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch
$_SERVER[SERVER_NAME] = zeroload.net.local
$_SERVER[SERVER_ADDR] = 192.168.0.33
$_SERVER[SERVER_PORT] = 80
$_SERVER[REMOTE_ADDR] = 192.168.0.17
$_SERVER[DOCUMENT_ROOT] = /home/vincent/sites/zeroload/www
$_SERVER[SERVER_ADMIN] = [no address given]
$_SERVER[SCRIPT_FILENAME] = /home/vincent/sites/zeroload/www/index.php
$_SERVER[REMOTE_PORT] = 51367
$_SERVER[REDIRECT_URL] = /prestations/
$_SERVER[GATEWAY_INTERFACE] = CGI/1.1
$_SERVER[SERVER_PROTOCOL] = HTTP/1.1
$_SERVER[REQUEST_METHOD] = GET
$_SERVER[QUERY_STRING] =
$_SERVER[REQUEST_URI] = /prestations/
$_SERVER[SCRIPT_NAME] = /index.php
$_SERVER[PATH_INFO] = /prestations/
$_SERVER[PATH_TRANSLATED] = redirect:/index.php/prestations//
$_SERVER[PHP_SELF] = /index.php/prestations/
$_SERVER[REQUEST_TIME] = 1275993561
$_SERVER[argv] = Array
$_SERVER[argc] = 0
from css-js-booster.
OK, I see. Thanks a lot! I checked in a new version. Is it better now?
from css-js-booster.
ok now :)
from css-js-booster.
Yay! And thanks a lot! So I close this for now.
from css-js-booster.
and now ..
i go to :
and the css-js-booster is called like this :
http://example.com/page/CSS-JS-Booster
from css-js-booster.
Hi there!
Can you again post the results of a
for($i=0;$i<sizeof($_SERVER);$i++)
{
echo '$_SERVER['.key($_SERVER).'] = '.$_SERVER[key($_SERVER)].'<br />';
next($_SERVER);
}
from css-js-booster.
this is the lines you asked me for the page/page2 problem :
$_SERVER[REDIRECT_STATUS] = 200
$_SERVER[HTTP_HOST] = zeroload.net.local
$SERVER[HTTP_USER_AGENT] = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
$SERVER[HTTP_ACCEPT] = text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
$_SERVER[HTTP_ACCEPT_LANGUAGE] = fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
$_SERVER[HTTP_ACCEPT_ENCODING] = gzip,deflate
$_SERVER[HTTP_ACCEPT_CHARSET] = ISO-8859-1,utf-8;q=0.7,*;q=0.7
$_SERVER[HTTP_KEEP_ALIVE] = 115
$_SERVER[HTTP_CONNECTION] = keep-alive
$_SERVER[HTTP_REFERER] = http://zeroload.net.local/blog/
$_SERVER[HTTP_COOKIE] = sessionid=YToyOntzOjE4OiJfUFhfUGx1Zl9Vc2VyX2F1dGgiO2k6MTtzOjE2OiJQbHVmX1Nlc3Npb25fa2V5IjtzOjMyOiJiYWIxOTY1ZWVkMjM1N2M0N2EwMGM4NTM1MTc2YTM4OSI7fQ%3D%3D1963bd9e72c4e4973e0395a72184a486
$_SERVER[HTTP_CACHE_CONTROL] = max-age=0
$_SERVER[PATH] = /usr/local/bin:/usr/bin:/bin
$_SERVER[SERVER_SIGNATURE] =
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch Server at zeroload.net.local Port 80
$_SERVER[SERVER_SOFTWARE] = Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch
$_SERVER[SERVER_NAME] = zeroload.net.local
$_SERVER[SERVER_ADDR] = 192.168.0.33
$_SERVER[SERVER_PORT] = 80
$_SERVER[REMOTE_ADDR] = 192.168.0.10
$_SERVER[DOCUMENT_ROOT] = /home/vincent/sites/zeroload/www
$_SERVER[SERVER_ADMIN] = [no address given]
$_SERVER[SCRIPT_FILENAME] = /home/vincent/sites/zeroload/www/index.php
$_SERVER[REMOTE_PORT] = 57389
$_SERVER[REDIRECT_URL] = /blog/ouverture de zeroload.net/
$_SERVER[GATEWAY_INTERFACE] = CGI/1.1
$_SERVER[SERVER_PROTOCOL] = HTTP/1.1
$_SERVER[REQUEST_METHOD] = GET
$_SERVER[QUERY_STRING] =
$_SERVER[REQUEST_URI] = /blog/ouverture%20de%20zeroload.net/
$_SERVER[SCRIPT_NAME] = /index.php
$_SERVER[PATH_INFO] = /blog/ouverture de zeroload.net/
$_SERVER[PATH_TRANSLATED] = redirect:/index.php/blog/ouverture de zeroload.net//ouverture de zeroload.net/
$_SERVER[PHP_SELF] = /index.php/blog/ouverture de zeroload.net/
$_SERVER[REQUEST_TIME] = 1276613589
$_SERVER[argv] = Array
$_SERVER[argc] = 0
from css-js-booster.
Should be okay now
from css-js-booster.
Close
from css-js-booster.
Related Issues (20)
- CDN will cache the "temporary file"
- Wrong datauri path generation in css_datauri_cleanup() ? HOT 1
- Cannot get any CSS files to work in a MCV setup
- Can't deactivate the plugin HOT 8
- Better handling of files not found
- Insert safety-semicolons between concatenated JS-files
- Ensure that when js_minify = false it *is* not minified
- Remove @charset declarations when they occur in CSS
- image url in css HOT 1
- Compress once and then serve those .gz files
- Webfonts included via Data URI donβt work in Internet Explorer HOT 1
- GZIP & Cache Fonts
- Problem with empty CSS media-Attribute
- Fallback when no connection to the web
- Additional "productivity" mode w/ no timestamp
- .htaccess routing to static cached versions if existing
- Can't deactivate plugin without loosing CSS HOT 4
- Set default timezone as required by PHP5.2+
- htaccess leads to Internal Server Error HOT 1
- Does this library work with NGINX server? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from css-js-booster.