mod_rewrite problem


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
mod_rewrite problem

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 this url in the browser http://www.xxxxxx.com/advertisment


do you have the right codes for this ?


thanks for your help in advance.

Last edited by DukeNuke2; 08-28-2008 at 03:58 PM.. Reason: changed links to x...
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Mod_rewrite to handle paths ?
MaxtheCat
I hope someone can help. I somewhat know what a mod_rewrite does which is URL rewiring. What I don't know is how to make the mod_rewrite to handle paths ? Can this be why an AngularJS file is not being loaded ?... Web Development
36
Web Development
Apache Mod_rewrite Mystery
cjm51213
Hi Folks, 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...... UNIX for Advanced & Expert Users
5
UNIX for Advanced & Expert Users
Need help with mod_rewrite rule, redirect
EXT3FSCK
I have to redirect http://www.domain.com/(*)/(*)-hotel-deals.html to http://www.domain.com/(*)/(*)-hotel-deals where of course (*) are dynamic. Any ideas how this could be accomplished?... Shell Programming and Scripting
0
Shell Programming and Scripting
mod_rewrite help
Adrnalnrsh
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...... Web Development
0
Web Development
mod_rewrite RewriteMap - possible to 404?
sneakyimp
In my strenuous efforts to get SEO-friendly urls, I'm using a rewrite map in my apache setup: RewriteEngine on RewriteOptions MaxRedirects=5 RewriteMap seo prg:/Applications/MAMP/htdocs/map.php #map requests for the original file to the new SEO friendly urls RewriteCond...... Web Development
0
Web Development
CHICKEN-BUG(1)						      General Commands Manual						    CHICKEN-BUG(1)

NAME
chicken-bug - generates a bug report from user input
SYNOPSIS
chicken-bug [ filename | OPTION ... ]
OPTIONS
-help Show usage information. -to-stdout Write bug report to standard output instead of writing it to a file. - Read user input from standard input, even if files are given on the command line.
DESCRIPTION
chicken-bug generates a bug report file that collects user-input, optional files and system information obtained from the installed CHICKEN executables and libraries. Non-option arguments given on the command line are inserted into the bug report. If no option is given, or if - has been passed on the command line, then a description of the problem is read from standard input, until EOF (CTRL-D) or a line consisting only of "." (period) is read. The bug report will be written to a file in the current directory, which should be sent to CHICKEN maintainers as it contains various use- ful bits of information that make it easier to classify the problem described. Bug reports should be as detailed as possible. It is also very helpful to include code that reproduces the problem. The more detailed the input and the more thorough the description is, the easier you make it for the CHICKEN developers to help you.
BUGS
Submit bug reports by e-mail to chicken-janitors@nongnu.org
AUTHOR
The CHICKEN Team.
SEE ALSO
chicken(1) 19 Sep 2001 CHICKEN-BUG(1)

Featured Tech Videos