Topic profile page for Mod rewrite.
This page has aggregated data from forum posts, threads, listings, online discussions, newsgroups, messageboards, and other online sources which contain user generated content for the term: Mod rewrite.
Topic "Mod rewrite" was discussed 9,947 times on 500 sites in last 3 months
Started 10 hours, 48 minutes ago (2009-12-05 00:02:00)
by abscess
Hi all I try to make a multilingual site and wonder if I am heading in the right direction. My main goal is to have as few pages as possible. For now I try to make the page in English, German and Norwegian. File system (better idea anyone?): Root........./ (English) .............../no/ (Norwegian) .............../de/ (German) As someone comes to this...
Started 1 day, 22 hours ago (2009-12-03 12:50:00)
by job.ppa
We got a website up and running and have to add rewrite rule RewriteRule ^/(.*)$ http://servername:8085/servlet/Satellite/HPAweb/$1 / [P,L,NC] as part of new functionality. We also have many redirectmatches in a seperate file and they are not working because of this new rewrite rule. Below are the new changes that have been added to httpd.conf file RewriteCond %{...
Started 1 day, 23 hours ago (2009-12-03 11:44:00)
by paulOO
Hello, I use mod_rewrite to get SEF url's. In each page i want to catch the page name, the part after "www.domain.nl/" so "www.domain.nl/THIS", to be able to add a specific background img for each page. There must be a simple PHP command to do that. I do not speak PHP, so any help would be welcomed. Thanks.
Started 2 days ago (2009-12-03 10:15:00)
by NotionCommotion
Hi, I wish to redirect any requests from the "preview" directory to its parent directory. I can do something like this: RewriteRule ^(.+)/preview/(.+)$ $1/$2 [NC,L] I also wish my code (happens to be PHP) located in the parent directory to take different actions if the request came from the preview directory. It appears that the only way PHP will know if Apache redirected ...
Started 2 days, 4 hours ago (2009-12-03 06:25:00)
by loonychune
I've concocted a fairly brief system that basically lets you pull segments from a URL: e.g. http://www.example.co.uk/root/index.php/foo/bar/ba z What I need is to be able to go to http://www.example.co.uk/root/foo/bar/baz Note that index.php is the file that pulls the segments from it, so it has to still exist, but not appear in the site address. I am not sure ...
Started 3 days ago (2009-12-02 10:23:00)
by job.ppa
Hi. Currently we have website url's in the format as below. website domainname/yyy/level1/level2/level3 ( any request with yyy after domain name : these are the requests to be served from content server) website domainname/zzz/..... ( any request with zzz after the domain name : are the static html pages under apache document root) We have the following ...
Started 3 days, 18 hours ago (2009-12-01 16:08:00)
by vital_101
Hey everyone, I've never played with mod rewrite before, but I have a feeling that it is what I need for this. I would like to direct any traffic that comes to mysite.com/xxxx to a processing page elsewhere (say mysite.com/process.php). "xxxx" can be anything. So no matter what comes after the slash, it will alawys get redirected to process.php. I checked out the mod_rewrite page...
Started 4 days ago (2009-12-01 10:06:00)
by dude81
Hello, I've got this strange the problem, I would like to implement MVC with SEO friendly URLs on an IIS6.0 without using any rewrite modules. Also I don't want to show any php extension or even index of index.php. I would like if I have site on IIS running, http://www.example.com , I would like to show the module and actions in the form of http://www.example.com/module/action . How is ...
Started 4 days, 2 hours ago (2009-12-01 08:29:00)
by KlausAbrewse
Hi, I am working with apache and mod_rewrite and encountered a rare problem. When a page that uses non parsed headers is requested with a rewrite rule, the header of the response is appended to the end of the page. I also saw that in some requests (of the exact same file/url) the header is placed between the content. This probably means that two processes are writing at the ...
Started 6 days, 1 hour ago (2009-11-29 08:57:00)
by ladovnik
Mod Rewrite - Request for Help Hello. I'm having trouble putting together a Mod Rewrite rules. I would do something like this: This is the original address: [code] http://www.domian.com/index.php?site_id=AAA&var1=v alue1&var2=value2&var3=value3...itd. [/ code] [b] And that's different versions of changes to this address: [/ b] A)...
Started 4 days, 22 hours ago (2009-11-30 12:07:00)
by dhuelsmann
_________________ Regards, Dave Global Moderator Your question has likely already been answered - Search the forums & the documentation wiki first - and only then post your question! http://www.kiwaniswest.org http://www.faysgifts.com
Started 4 days, 22 hours ago (2009-11-30 12:05:00)
by Bmoller
Apologies.. Long case: We are using joomla 1.5.15 content management system. We are trying to use shortened urls (using the mod_rewrite module) but are having problems making it work/as well as adding new languages pages. After a couple of days trying fixes with Joomla we checked with our hosting provider to check if our htaccess file is enabled/working. They confirmed yes and gave us the ...
Started 1 week ago (2009-11-28 05:59:00)
by chconnor
Hiya - Had a vanilla page at /oldpage.html Made a shiny new version (an article) in my joomla installation, which is all in /jl and accessed by: /jl/newpage I could put a 301 in, but i wanted to preserve the old URL and have it map to the new location (and hopefully have joomla go along with that idea.) I don't mind if subsequent URLs from that page have the "jl" root, i just want the ...
Started 1 week, 1 day ago (2009-11-26 23:44:00)
by Kugelfisch23
Mit dem SSH-Client deines Vertrauens (unter Windows z.B. PuTTY, unter unixoiden Betriebssystemen OpenSSH/`ssh` in der Shell) auf dem Server einloggen, temporär root-Rechte erlangen (mit `su` oder `sudo `) und die Konfigurationsdatei mit `nano /etc/apache2/sites-available/000-default` bearbeiten: `AllowOverride All` ergänzen resp. eine bereits vorhandene AllowOverride-Direktive anpassen.
Started 1 day, 12 hours ago (2009-12-03 22:20:00)
by fuchzga
Zitat: Zitat von skylive Also mache ich eine nette kleine .htaccess Datei fertig und ab auf den Server damit. Natürlich hat es nicht funktioniert. Zeig doch mal was du bisher hast.
Started 1 day, 11 hours ago (2009-12-03 23:10:00)
by theHacker
Gute Frage. Besser solltest du das tun. RFC 1945 (definiert HTTP 0.9 und HTTP 1.0) sagt Zitat: HTTP/1.0 servers must: o recognize the format of the Request-Line for HTTP/0.9 and HTTP/1.0 requests; o understand any valid request in the format of HTTP/0.9 or HTTP/1.0; o respond appropriately ...