Sponsored Content
Full Discussion: Rewrite Rule looping error
Top Forums Web Development Rewrite Rule looping error Post 302701047 by Paulwintech on Friday 14th of September 2012 04:14:56 PM
Old 09-14-2012
Corona688, Yes i tried his suggestion by trying the below Rewrite rule option, but endup in endless looping error

RewriteEngine on
RewriteCond %{QUERY_STRING) !NEW
RewriteRule .* index.html?NEW=1 [L]

---------- Post updated at 01:42 AM ---------- Previous update was at 01:11 AM ----------

Hi Corona688,

Any luck? for my rewrite query please!!!

Regards
Paulwintech

Last edited by Paulwintech; 09-14-2012 at 04:55 PM..
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

grep help, how do i rewrite this

Thanks , franklin you method worked, i knew i had to use a while loop and getline in there just didnt know the proper order :) Hi everyone, im trying to make the following command line shorter by introducing a script that join up all the grep commands ./new1a < numbers.txt | grep -i -v '^a '... (5 Replies)
Discussion started by: weezybaby
5 Replies

2. Web Development

.htaccess Rewrite Rule

Hello All, I have been asked to create a .htaccess redirect. I have never attempted to work with one of these files. We have a pretty vanilla LAMP setup using rhel4 apache1.3 and php4.2.3. I was instructed to place the .htaccess file in the document root of the site and and to attempt to... (1 Reply)
Discussion started by: jaysunn
1 Replies

3. Web Development

Need help with rewrite rule

Hi, I hosted my site on Apache web server. I wanted to redirect all the users request to a HTML page(maintenance page). I used the below rewrite rule to do ths same. RewriteEngine on RewriteRule .* /maintenance.html The maintenance.html page contains an image. When ever I try to... (2 Replies)
Discussion started by: BSrikanthB
2 Replies

4. UNIX for Advanced & Expert Users

Apache rewrite rule help needed

Hi All, I want to redirect from http://localhost/abc/xyz/def?cc=dk&lc=da to http://localhost/abc/mnc/pdf?cc=dk&lc=da. Please suggest a rewrite rule. (0 Replies)
Discussion started by: jagnikam
0 Replies

5. Shell Programming and Scripting

multiple looping with case and funtion showing error, Please help

Hello All, I have code as follows :- while true do {opening a case1 statement} 1) {opening another case2 statement} {closing case 2} 2) Showing error for "2)" as Syntax error at line 59 : `)' is not expected. *) {closing case 1} ... (5 Replies)
Discussion started by: Renjesh
5 Replies

6. UNIX for Advanced & Expert Users

[SOLVED] htaccess rewrite rule help!

hi there, I need that when user input mysite.com/ponuka/AAA2869 it shows mysite.com/ukaz.php?ponuka=AAA2869 because of facebook likes, and I found out that this is set up as rewrite rule in .htaccess file? how to achieve it? thank you... :confused: ---------- Post updated at 04:47... (0 Replies)
Discussion started by: vogueestylee
0 Replies

7. Web Development

ReWrite rule giving a hard time.

Hi all, I am trying to find a rewrite rule that can help me with the following situation. So I am currently on a page which has a URL: http://www.test.mobile.com/#!/shop/phones/max-plus/features/ Now when I hover over a certain link, I can see that it will goto: <a... (0 Replies)
Discussion started by: Junaid Subhani
0 Replies

8. UNIX for Beginners Questions & Answers

Error in looping through files

Hi, I've got a folder with several files I'd like to manipulate. The file names are all ending in .txt and I'd like to loop through their names for manipulation. This is the script I've got so far: for i in 'ls *.gtc.txt|cut -d "." -f1'; do echo${i}; done It should be easy enough, but... (2 Replies)
Discussion started by: zajtat
2 Replies
SPEAKER-TEST(1) 					      General Commands Manual						   SPEAKER-TEST(1)

NAME
speaker-test - command-line speaker test tone generator for ALSA SYNOPSIS
speaker-test [-options] DESCRIPTION
speaker-test generates a tone that can be used to test the speakers of a computer. OPTIONS
-c | --channels NUM NUM channels in stream -D | --device NAME PCM device name NAME -f | --frequency FREQ sine wave of FREQ Hz --help Print usage help -b | --buffer TIME Use buffer size of TIME microseconds. When 0 is given, use the maximal buffer size. The default value is 0. -p | --period TIME Use period size of TIME microseconds. When 0 is given, the periods given by -P option is used. The default value is 0. -P | --nperiods ERIODS Use number of periods. The default value is 4. -r | --rate RATE stream of RATE Hz -t | --test pink|sine|wav -t pink means use pink noise (default). Pink noise is perceptually uniform noise -- that is, it sounds like every frequency at once. If you can hear any tone it may indi- cate resonances in your speaker system or room. -t sine means to use sine wave. -t wav means to play WAV files, either pre-defined files or given via -w option. You can pass the number from 1 to 3 as a backward compatibility. -l | --nloops COUNT Specifies the number of loops. Zero means to run infinitely. When -s option below with a valid channel is given, speaker-test will perform always a single-shot without looping. -s | --speaker CHANNEL Do a single-shot speaker test for the given channel. The channel number starts from 1. The channel number corresponds to left, right, rear-left, rear-right, center, LFE, side-left, side-right, and so on. For example, when 1 is passed, it tests the left channel only once rather than both channels with looping. -w | --wavfile Use the given WAV file for the playback instead of pre-defined WAV files. -W | --wavdir Specify the directory containing WAV files for playback. The default path is /usr/share/sounds/alsa. USAGE EXAMPLES
Produce stereo sound from one stereo jack: speaker-test -Dplug:front -c2 Produce 4 speaker sound from two stereo jacks: speaker-test -Dplug:surround40 -c4 Produce 5.1 speaker sound from three stereo jacks: speaker-test -Dplug:surround51 -c6 To send a nice low 75Hz tone to the Woofer and then exit without touching any other speakers: speaker-test -Dplug:surround51 -c6 -s1 -f75 AUTHOR
The speaker-test program was written by James Courtier-Dutton. Pink noise support was added by Nathan Hurst. Further extensions by Takashi Iwai. speaker-test 20 September 2004 SPEAKER-TEST(1)
All times are GMT -4. The time now is 08:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy