• 20Sep

    I believe that Internet Explorer is a joke by Microsoft. Alright, I don’t really believe that but it could be anyway :)

    Why can’t their programmers or software architects realize that they are still The Most Popular Internet Browser on our planet. In my opinion, the most important question is how can’t IE make possible things that making possible by others.

    The problem that I had faced to at last is just happend while I’m trying to use same session with subdomains. It’s not working on IE. The most strange thing in this case is that there is nothing to do with the browser to make it possible normally. It’s a server-side problem and here is solution:

    session_set_cookie_params(1200, null, ‘.domain.com’);

    Now, you can use same session on your subdomains except you’re working on IE. So, we need to detect Internet Browser to apply that wonderful feature.

    if (substr_count($_SERVER['HTTP_USER_AGENT'], ‘Firefox’) > 0)
    session_set_cookie_params(1200, null, ‘.domain.com’);

  • 19Sep

    <VirtualHost localhost:80>
    ServerAdmin baraka@localhost
    ServerName test.baraka
    DocumentRoot /var/www/baraka/run
    DirectoryIndex index.php

    <Directory /var/www/baraka/run>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>
    </VirtualHost>

    Update: Please check your Baraka path before load that configuration.