Jump to content

aebstract

Members
  • Posts

    1,105
  • Joined

  • Last visited

Posts posted by aebstract

  1. Uhg, this makes no sense, I just took the htaccess out completely and removed the php that had to deal with that url stuff, and its leaving the garbled text flow again..

     

    
    [sun Nov 18 08:33:44 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    
    

  2. [sun Nov 18 07:37:11 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:37:11 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:39:22 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:39:23 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:39:23 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:39:43 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:40:34 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:40:38 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:41:24 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:41:25 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:41:54 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:42:04 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:42:05 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:42:50 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:43:48 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:43:48 2007] [error] [client 80.6.171.43] File does not exist: /var/www/vhosts/carbenco.com/httpdocs/home
    [sun Nov 18 07:43:50 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:44:02 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:46:10 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:46:10 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration
    [sun Nov 18 07:46:11 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:46:11 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration
    [sun Nov 18 07:46:11 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:46:11 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration
    [sun Nov 18 07:46:11 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:46:11 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration
    [sun Nov 18 07:46:55 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:46:55 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration, referer: http://www.phpfreaks.com/forums/index.php/topic,168155.0.html
    [sun Nov 18 07:46:55 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:46:55 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration
    [sun Nov 18 07:48:04 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:48:04 2007] [alert] [client 80.6.171.43] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration, referer: http://www.phpfreaks.com/forums/index.php/topic,168155.0.html
    [sun Nov 18 07:48:07 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:48:07 2007] [alert] [client 80.6.171.43] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration
    [sun Nov 18 07:49:51 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:49:51 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration, referer: http://carbenco.com/forum/index.php
    [sun Nov 18 07:52:12 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:52:12 2007] [alert] [client 80.6.171.43] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration, referer: http://www.phpfreaks.com/forums/index.php/topic,168155.msg741446/boardseen.html
    [sun Nov 18 07:58:34 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 07:58:34 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration
    [sun Nov 18 08:02:13 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:02:13 2007] [alert] [client 80.6.171.43] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration, referer: http://www.phpfreaks.com/forums/index.php/topic,168155.msg741446/boardseen.html
    [sun Nov 18 08:02:50 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:02:50 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration, referer: http://carbenco.com/forum/index.php
    [sun Nov 18 08:22:50 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:22:50 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration, referer: http://carbenco.com/forum/index.php
    [sun Nov 18 08:23:34 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:23:34 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration
    [sun Nov 18 08:23:36 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:23:36 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: Invalid command '+ACM-RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration
    [sun Nov 18 08:23:55 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:23:55 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
    [sun Nov 18 08:23:56 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:23:56 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
    [sun Nov 18 08:23:57 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:23:57 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
    [sun Nov 18 08:23:58 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:23:58 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
    [sun Nov 18 08:23:59 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:23:59 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
    [sun Nov 18 08:24:00 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:24:00 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
    [sun Nov 18 08:24:00 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:24:00 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
    [sun Nov 18 08:24:01 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:24:01 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
    [sun Nov 18 08:24:01 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:24:01 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
    [sun Nov 18 08:24:05 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:24:05 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
    [sun Nov 18 08:24:41 2007] [error] ModSecurity: ModSecurity requires mod_unique_id to be installed.
    [sun Nov 18 08:24:41 2007] [alert] [client 75.117.20.99] /var/www/vhosts/carbenco.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
    

  3. DOH I looked down that same page a little and saw the error logs ;)

    Its still a long long page or lots of stuff back to back that looks very confusing, so I will send them a ticket and see if I can get the problem solved. Thanks for your help and I'll post back here with results, whether they get the problem fixed or not.

  4. It's gotta be the code in the index, cause I took the code out of home.php and it still did the same problem. Changed it to just text also, nothing.

     

    EDIT: I took out the entire php chunk of code, still doing this weird text flow.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^([A-Z])$ index.php?page=$1 [NC]

    Could this have anything to do with causing the problem? Also, while we're in here, will it be possible to make that rewrite read another variable IF its set, if not then it won't bother? For instance, www.carbenco.com/print/ should read the variable page as print, but if it was www.carbenco.com/print/1/ it would read the 1 as variable work?

  5. Okay a few things/questions:

     

    $page = (isset($_GET['page'])) ? $_GET['page'] : 'home';

    whats that doing?

     

    <?php
    $page = (isset($_GET['page'])) ? $_GET['page'] : 'home';
    switch($page)
    {
        case '$page':
    include "$page";
        break;
    
            if(file_exists($page))
                include "$page";
            else
                echo 'Homepage';
        break;
    }
    ?>

    Something like that should work, right? I don't know if the error is in this or the home.php file, but I'm getting some weird text that flows half the page. www.carbenco.com take a look.

     

    Here's my home.php

    <?php
    echo \"<img src=art.png />\";
    ?>
    

  6. Hi,

    I have a .htaccess file that looks like this:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^([0-9]+)/$ /index.php?page=$1

     

    and I have these two parts in my index.php file

    <div id="nav4"><a href="/home/"><img src="homexx.png" border="0" /></a></div>

    <?php
    if (!isset($page)) {
    echo "home";
    } else {
    
    include "$page";
    
    }
    
    ?>

     

    How come whenever I click the link, it takes me to a "404 not found" page, as opposed to the index.php page with the variable 'page' set as home?

    Thanks

  7. When I do that, I get this error:

     

    Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator, markscott1962@bellsouth.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    
    More information about this error may be available in the server error log.

  8. Hey guys,

    I haven't posted here in a few months, kinda been out of the business a little but getting back in to it. Well I am trying to make url's such as: www.something.com/about_us.php be able to display in the browser like: www.something.com/about_us and still run the page about_us.php. Here is what I have for the .htaccess;

     

    RewriteEngine On
    RewriteBase /
    RewriteRule ^([0-9]+)/$ /$1.php

     

    Any help much appreciated.

    Thanks

  9. It's not setting the active link's class as active. Whichever page you are on, that link should be class=active so the css steps in with that link.

     

    edit: here is how it is generating;

    <div id=nav><a href="index.php?page=home" >home</a>
    
    <a href="index.php?page=bios" >bios</a>
    <a href="index.php?page=platform" >platform</a>
    <a href="index.php?page=events" >events</a>
    <a href="index.php?page=team" >team</a>
    </div>
    

  10. Okay then, what is wrong with:

     

    <?php
    echo '<div id=nav>';
    
    $links = array ("home", "bios", "platform", "events", "team");
    foreach ($links as $link) {
    echo '<a href="index.php?page='.$link.'" '.(($page == $link) ? 'class="active"' : '').'>'.$link.'</a>
    ';
    }
    
    
    echo '</div>';
    
    ?>
    

    ?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.