I am running on a CentOS 6.3 server, whose primary function until recently has been my Zimbra mail server exclusively. I added wordpress and I have not been disappointed, with this one exception of Apache mod_rewrite. I have already tried to set selinux to permisive to eliminate that as a culprit and I am happy to say that I believe this has nothing to do with selinux.
/server-info/ tells me that mod_rewrite is enabled, which is good because that is what I intended. I have an .htaccess file in my wordpress root directory that looks like this:
Some observations:
This doesn't work, meaning if I ask for a link, error_log reports "404 289" and I understand "404", but not "289"
I tried to enable rewrite logging, and I get no log. So, that's not helping me much.
I get no other complaints from any other components in any other logs that I can find.
Does anybody have any explanation for "289" or reasons why I can't get rewrite logging to help me?
Hello Everyone,
I am currently running a large Server with Veritas Volumen Manager, attached to a EMC.
uname -a
SunOS 5.8 Generic_117350-47 sun4u sparc SUNW,Sun-Fire-880
I have one directory that tends to change to a file.Once in a while and always in different time.The file is the... (1 Reply)
hi
i'm very new to mod_rewrite.
I can't seem to have this work.
I have a site which has 4 pages : home, links, adverts and contacts page.
the adverts page is linked to this url http://www.xxxxxx.com/adverts.php. What i want is that whenever the adverts page is clicked , it will show... (0 Replies)
A perplexing mystery...
please note that i am not a lacky, and the error below is misleading
recently something i do all the time broke (a script).
now when i run this script i get this error.
/usr/bin/awk: 0403-027 The parameter list is too long.
note that the (parameter list is... (9 Replies)
Here's my situation.
When a user access the site domain.com it redirects to /portal which displays SKIN1 by default.
When a user accesses the site domain.com/portal?branding=SKIN1 it displays SKIN1 by default as well.
When a user access the site domain.com/portal?branding=SKIN2 it... (0 Replies)
I'd like to translate a friendly url such as:
http://www.xxxyyyzzz.com/page/12345678/
to:
http://www.xxxyyyzzz.com/page/12/34/56/78/
Seems simple enough, but I cannot figure out how. Any one done this before? (2 Replies)
I burned identical raw encrypted data to three cds using my new external Toshiba drive. My internal IBM read only drive does not get an I/O Error when reading in Circumstance #1, but does get an I/O Error in Circumstance #2. But, the Toshiba drive can do both circumstances without an error.
... (1 Reply)
Hi everyone,
I can't seem to understand the behavior of sort on a particular case.
cat tmp25
1 a
10 b
20 c
2 d
I do that:
sort -k1,1 tmp25
1 a
10 b
2 d
20 c
This one I understand, it's what i expected, from a string point of view 1<10<2<20
sort -k1... (9 Replies)
Hi Team,
I have a question on the apache mod_rewrite module. I have a requirement of rewriting only specific url's to https.
Requirement below:-
want to match a word (test) on the url and if matches then it should rewrite to https.
example:-
... (1 Reply)
Discussion started by: arumon
1 Replies
LEARN ABOUT REDHAT
apache::requestrec
REQUESTREC(1) User Contributed Perl Documentation REQUESTREC(1)NAME
Apache::RequestRec -- A Perl API for Apache request object
SYNOPSIS
use Apache::RequestRec;
sub handler{
my $r = shift;
my $s = $r->server;
my $dir_config = $r->dir_config;
...
}
DESCRIPTION
"Apache::RequestRec" provides the Perl API for Apache request object.
API
Function arguments (if any) and return values are shown in the function's synopsis.
o server()
$s = $r->server;
Gets the "Apache::Server" object for the server the request $r is running under.
o dir_config()
dir_config() provides an interface for the per-directory variable specified by the "PerlSetVar" and "PerlAddVar" directives, and also
can be manipulated via the "APR::Table" methods.
The keys are case-insensitive.
$apr_table = $r->dir_config();
dir_config() called in a scalar context without the $key argument returns a HASH reference blessed into the APR::Table class. This
object can be manipulated via the APR::Table methods. For available methods see APR::Table.
@values = $r->dir_config($key);
If the $key argument is passed in the list context a list of all matching values will be returned. This method is ineffective for big
tables, as it does a linear search of the table. Thefore avoid using this way of calling dir_config() unless you know that there could
be more than one value for the wanted key and all the values are wanted.
$value = $r->dir_config($key);
If the $key argument is passed in the scalar context only a single value will be returned. Since the table preserves the insertion
order, if there is more than one value for the same key, the oldest value assosiated with the desired key is returned. Calling in the
scalar context is also much faster, as it'll stop searching the table as soon as the first match happens.
$r->dir_config($key => $val);
If the $key and the $val arguments are used, the set() operation will happen: all existing values associated with the key $key (and the
key itself) will be deleted and $value will be placed instead.
$r->dir_config($key => undef);
If $val is undef the unset() operation will happen: all existing values associated with the key $key (and the key itself) will be
deleted.
o
perl v5.8.0 2002-05-19 REQUESTREC(1)