» Home » rewrite » Page 1
preventing rewrite rules causing internal service error when URL Rewrite is not enabled
Category : Development Tools & Services

We distribute a product (PHP based) along with a .htaccess and a web.config set of rewrite rules for "pretty" URLs.

The problem is that under IIS if URL Rewrite is not installed; the system generates an internal server error.

We are looking for a way to prevent this; at the very least to just give an error message that we can configure to explain what the user needs to d

View Replies

Apache Rewrite: rewrite ONLY index URLs regardless of depth with file extension exceptions
Category : Development Tools & Services

I have this somewhat working though it's important to understand the setup.

With multi-domain support (multiple domains using the exact same copy of software) I need to rewrite ONLY the directories (which end cleanly like dir1/ or dir2/).

Visually here are where the files are referenced...



View Replies

Complicated URL Rewrite. Rewriting index.php, yet wanting to rewrite other.php to load without extension
Category : Development Tools & Services

I have an installation of CodeIgniter. Basically, my directory structure looks like this:

| webroot
|- ci_apps
|-- application1
|-- application2
| ci_system
| index.php
| testing.php

Right now, I can only load one application, which is defined in index.php. What I would like to do is be able to rename index.php to application1.ph

View Replies

Helicon ISAPI Rewrite + ASP.NET : Rewrite rule to redirect to default page?
Category : ASP & ASP.net

How do i rewrite URL like:

http://subfoo.foo.com/ --> http://subfoo.foo.com/Pages/Home.aspx

View Replies

Rewrite everything to a single 'site down' page with Zeus Rewrite Rules
Category : Development Tools & Services

I'd like to make it so that any request for any file or page on my website gets directed to a single file: site_down.php

I know how to do this with apache rewrites but can't find a specific example for Zeus

View Replies

Internal rewrite+Setting environment variables with mod-rewrite/.htaccess
Category : Programming Languages

I am trying to achieve the following through mod_rewrite:

1. What is the basic directory structure?
main/ (folder)
a bunch of PHP files
some_folder/ (folder)
another_folder/ (folder)
... (an arbitrary number of such folders)
yet_another_folder/ (folder)
.htaccess(the magic goes here)
2. What I am trying to do?

In this scenario al

View Replies

Ionics Isapi Rewrite - Can rewrite actually just change my URL address only in the request?
Category : Programming Languages

I installed the Isonics ISAPI Rewrite Module for the needs of a ASP.NET app that we finished and going into release in IIS 6 Windows Server 2003.

The need is to change the URL Address at this stage from http://server/site/apage.aspx?query=abc or whateve other could possibly send the browser.

I thought URL Rewriting can do this job, but again it feels like a

View Replies

Converting Apache rewrite to nginx including several rewrite Conditions
Category : Development Tools & Services

How do I translate those rewrite into nginx? I tried for hours and it gets pretty urgent...

RewriteCond %{QUERY_STRING} !^(landing|comment=|show=).*$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^.*$ http://www.foobar.com/ [R=301]

View Replies

htaccess rewrite condition and rewrite rule for redirecting to a page using a particular name
Category : Web Design

I have a link linking to http://mysite.com/profile.php?username=myname and when we click it

the browser will show http://mysite.com/myname. I have already wrote other links in htaccess

and I do not want to change them all ...

Can someone help me ?

View Replies

Converting Mod-rewrite rules which use %(QUERY_STRING) to NGINX rewrite format?
Category : Web Design

I've been stuck the last few days trying to convert the following Apache/Mod_Rewrite rewrite rule to NGINX format. Anyone know where I am going wrong?


RewriteCond %{QUERY_STRING} topic=([0-9]+)
RewriteRule /forum/index.php /forum/vbseo301.php?action=thread&oldid=%1 [L]


location /forum/index.php {

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .