![](https://forums.phpfreaks.com/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
aebstract
-
Posts
1,105 -
Joined
-
Last visited
Posts posted by aebstract
-
-
[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
-
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.
-
I found a page that has log files, with this at the top:
Nov 18, 2007 08:02 AM access_log 104 KB
Would you like to look through that file? I can save it and upload it for you to look at.
-
I did, look up like two posts here. You might have missed it because I posted it just before you sent in a reply.
-
If I comment it out with the # I get an internal server error (up now). This should all work, I've had working modrewrite stuff before on this server, I just have been out of the game for a few months.
-
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?
-
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 />\"; ?>
-
anyone got a clue? I think it is close to working but something stupid is throwing it off?
-
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
-
When you search for results by first name, limit to only the ones that you grabbed when searched by last name.
-
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.
-
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
-
how can $_POST['save2'] and $_POST['Submit'] both be set? Wouldn't that be two different submit buttons = two different forms?
-
You have to post your code if you want any help.
-
Are you setting those variables that you are trying to insert? I don't see where, but if you aren't that would be a problem.
-
Wow, thats nice. Thanks a lot for your help everyone!
-
Within minutes I noticed one last problem. By default the home page won't have a page=bla. With the code that I now have, is it possible to have the HOME tab set as active when nothing is set?
-
Uhg, I coulda sworn I was pulling it in out of the index file before I included the nav. Thanks for noticing this!
-
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>
-
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>'; ?>
?
-
That didn't change a thing.
-
You could just run an if statement in your for statement, if the current matches up with the one that it is on, then set it, then run your else as the normal.
-
<?php $oldRoutedTo = '379'; echo "$oldRoutedTo"; $routedTo = "$oldRoutedTo"; echo "$routedTo"; ?>
Both should echo 379 in this example? I am not sure what you actually want it to do, hopefully this is it.
-
anything?
[SOLVED] php pages & htaccess
in PHP Coding Help
Posted
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..