Using httpd’s mod_rewrite with mod_jk

On 03.07.2010 14:08, Rainer Jung wrote:

I made the VAL argument in ENV=VAR:VAL optional for httpd trunk:

http://svn.apache.org/viewvc?rev=960233&view=rev

and proposed it for backport to httpd 2.2.x. It’s a trivial change, no risk, and a nice shortcut for configuration. Otherwise the module should at least complain about an invalid flag syntax.

Nice cross project interaction :)

Regards,

Rainer

Using httpd’s mod_rewrite with mod_jk

On 02.07.2010 22:02, Christopher Schultz wrote:

Right, I’d say it’s a buglet in mod_rewrite. Maybe something I can improve for httpd trunk … (I need to check whether it still behaves the same there).

Regards,

Rainer

Using httpd’s mod_rewrite with mod_jk

Rainer Jung wrote: Hi. I usually find helpful the Apache httpd request processing cycle diagram found here : http://perl.apache.org/docs/2.0/user/handlers/http.html That page is part of the mod_perl documentation, explaining how the Apache/perl integration works. But since mod_perl digs deep inside Apache httpd, the various stages of request processing by mod_perl follow the internal Apache httpd cycle very closely. For example, it helps in figuring out at what stage and in what order things like mod_rewrite, JkMount, , content handlers etc.. play a role, how they combine, and at which level you can intervene to do what. It must exist somewhere, but I have not yet found an original Apache httpd document which explains these things so well. Forget the perl-specific stuff that you find there, just follow the explanations and the links. It is really a good tutorial into the insides of Apache httpd’s request processing.

Using httpd’s mod_rewrite with mod_jk

Hi, Chris-

This should redirect to /bad-browser.shtml:

RewriteCond %{HTTP_USER_AGENT} Firefox/ RewriteCond %{HTTP_USER_AGENT} !Firefox/(3.0.19|3.5.9|3.6.3)($|[^.0-9]) RewriteRule .* /bad-browser.shtml [R=307,L]

Looks just about like what you already had though.

I’m not sure the substitution is applied with F(orbidden).

-Terence Bandoian

Christopher Schultz wrote:

Using gparted GUI to make GPT partition tables

Is the GUI for gparted effective enough for “dummies” to get properly aligned partitions via mindless clicking? Or do you still have to do some math to get things just right?

Trouble using debmirror on Lenny (certain public keysnot found)

Hi Mirko,

thanks for your suggestion. It worked. Must have been overlooking that hint in the manpage. Sorry.

Greetings,

Holger

On Thu, 24 Jun 2010, Mirko Parthey wrote:

Creating Tar-Archive with UNIX-username/group permissions using maven

Hi, I’m currently working on a migration from ant to maven and want to create a tar-file with unix-permissions (mode, username and group).

My Ant-code looked like this:

I managed to get the 700 filepermission with the -tag in maven – but I coudn’t find any tag that allows me to tell maven to set the username and group for files within my output-tar.

Some Links: Maven usage for the assembly-plugin: http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_fileSet Ant usage: http://ant.apache.org/manual/Types/tarfileset.html Maven assembly issue tracking: http://jira.codehaus.org/browse/MASSEMBLY

Can anyone help me with this? Any workarounds suggested (ant-call is not really what I want)?

Thanks a lot! Daniel

Trouble using debmirror on Lenny (certain public keys not found)

On Thu, Jun 24, 2010 at 11:45:31AM +0200, Holger Rauch wrote:

By default, gpg stores new public keys in ~/.gnupg/pubring.gpg, while gpgv expects them in ~/.gnupg/trustedkeys.gpg.

The following command should import keys straight into trustedkeys.gpg: gpg –no-default-keyring –keyring trustedkeys.gpg –import At least, that’s what the debmirror(1) manpage suggests.

If you want to use the same keys for debmirror and apt, you can simply set a symlink like this: /home/mirror/.gnupg/trustedkeys.gpg -> /etc/apt/trusted.gpg It may be a good idea to run debmirror under a separate user account to avoid interference with other usage of gpg.

Regards, Mirko

Trouble using debmirror on Lenny (certain public keys not found)

Hi to everybody,

I want to create a partial mirror for both the stable (Lenny) and testing (Squeeze) distributions of Debian. The mirror is supposed to contain the amd64 arch only (all binary packages of all sections). Here’s how I invoke debmirror from within a shell script:

===

debmirror -a amd64 -s all -e rsync –rsync-options “-aIL –partial –bwlimit=2048″ -r :debian -h ftp2.de.debian.org -d lenny /debstable –nosource

About using alsa-utils to test alsa driver on i.mx27 board with wm8974 soc chip

Hi all,

I have a i.mx27 board with wm8974 sound soc. And the alsa-driver has been built for this board. The driver seems to work well. The device file has been created. And using “amixer scontrols”, the list of all available alsa controls is displayed.

However, when playing wav file with “aplay -t wav ./test.wav”, no analogue signal is output from wm8974 mono output or speaker outputs. Our hardware engineer verifies that the bit clock and frame sync clock have been correctly generated by wm8974 and are present on the DAI interface. Also the digital signal has arrived wm8974′s DAI interface from MX27 CPU.

Why there is no analogue output from wm8974? Should I use “amixer” to setup some alsa controls? And how? And there is no asound.conf file in my root filesystem. Must I provide the asound.conf file?

Regards, Jie