Giter Club home page Giter Club logo

Comments (17)

Schepp avatar Schepp commented on May 25, 2024

I just added functionality that should maybe adapt now to a rewritten path. You want to try?

from css-js-booster.

vvo avatar vvo commented on May 25, 2024

yes of course, i added '/'. in code atm :D

from css-js-booster.

Schepp avatar Schepp commented on May 25, 2024

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.

Schepp avatar Schepp commented on May 25, 2024

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.

vvo avatar vvo commented on May 25, 2024

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.

vvo avatar vvo commented on May 25, 2024

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.

vvo avatar vvo commented on May 25, 2024

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.

Schepp avatar Schepp commented on May 25, 2024

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.

vvo avatar vvo commented on May 25, 2024

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.

Schepp avatar Schepp commented on May 25, 2024

OK, I see. Thanks a lot! I checked in a new version. Is it better now?

from css-js-booster.

vvo avatar vvo commented on May 25, 2024

ok now :)

from css-js-booster.

Schepp avatar Schepp commented on May 25, 2024

Yay! And thanks a lot! So I close this for now.

from css-js-booster.

vvo avatar vvo commented on May 25, 2024

and now ..

i go to :

http://example.com/page/page2

and the css-js-booster is called like this :

http://example.com/page/CSS-JS-Booster

from css-js-booster.

Schepp avatar Schepp commented on May 25, 2024

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.

vvo avatar vvo commented on May 25, 2024

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.

Schepp avatar Schepp commented on May 25, 2024

Should be okay now

from css-js-booster.

Schepp avatar Schepp commented on May 25, 2024

Close

from css-js-booster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.