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
apachectl
apachectl(1) General Commands Manual apachectl(1)NAME
apachectl - Apache HTTP server control interface
SYNOPSIS
apachectl command [...]
DESCRIPTION
apachectl is a front end to the Apache HyperText Transfer Protocol (HTTP) server. It is designed to help the administrator control the
functioning of the Apache httpd daemon.
NOTE: If your Apache installation uses non-standard paths, you will need to edit the apachectl script to set the appropriate paths to your
PID file and your httpd binary. See the comments in the script for details.
The apachectl script returns a 0 exit value on success, and >0 if an error occurs. For more details, view the comments in the script.
Full documentation for Apache is available at http://httpd.apache.org/
OPTIONS
The command can be any one or more of the following options:
start Start the Apache daemon. Gives an error if it is already running.
stop Stops the Apache daemon.
restart Restarts the Apache daemon by sending it a SIGHUP. If the daemon is not running, it is started. This command automatically
checks the configuration files via configtest before initiating the restart to make sure Apache doesn't die.
fullstatus Displays a full status report from mod_status. For this to work, you need to have mod_status enabled on your server and a
text-based browser such as lynx available on your system. The URL used to access the status report can be set by editing the
STATUSURL variable in the script.
status Displays a brief status report. Similar to the fullstatus option, except that the list of requests currently being served is
omitted.
graceful Gracefully restarts the Apache daemon by sending it a SIGUSR1. If the daemon is not running, it is started. This differs from
a normal restart in that currently open connections are not aborted. A side effect is that old log files will not be closed
immediately. This means that if used in a log rotation script, a substantial delay may be necessary to ensure that the old log
files are closed before processing them. This command automatically checks the configuration files via configtest before ini-
tiating the restart to make sure Apache doesn't die. On certain platforms that do not allow SIGUSR1 to be used for a graceful
restart, an alternative signal may be used (such as SIGWINCH). graceful will send the right signal for your platform.
configtest Run a configuration file syntax test. It parses the configuration files and either reports Syntax Ok or detailed information
about the particular syntax error.
help Displays a short help message.
SEE ALSO httpd(8)
September 1997 apachectl(1)