Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting

Advertisements: & have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for

Htaccess :: Rewrite A Hash # Or Other Symbol To A Question Mark

I simply want to rewrite a hash # or other symbol to a question mark via htaccess. So any hash in the URL anywhere should internally rewrite to a ?. All I want is to remove ? from the URL really.

View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Htaccess Rewrite
When someone types in I want it to display the main forum ( with ...../forums.html in the url bar. But without actually having a forums.html file present on the server. Can this be accomplished with htaccess?

View Replies!   View Related
.htaccess To Lighthttpd Rewrite
I had a .htaccess working in my previouse hosting. It is not working with the new hosting which has lighthttpd.

Can anyone help me to change my below htaccess modrewrite code to lighthttpd url rewrite? Its urgent please.

RewriteEngine On ...

View Replies!   View Related
Convert .htaccess To Lighthttpd Rewrite Rule
How do I go about converting the follow .htaccess file

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} /blogs/(clientscript|images)/
RewriteRule ^(.*)$ $1 [L]

RewriteRule ^blogs/([-a-z0-9] )/([-a-z0-9] )-([0-9] )/comment-([0-9] ).html blogs/viewblog.php?username=$1&entrytitle=$2&entry=$3&c=$4 [QSA,L]
RewriteRule ^blogs/([-a-z0-9] )/([-a-z0-9] )-([0-9] )/feed/ blogs/syndication.php?entry=$3 [QSA,L]
RewriteRule ^blogs/([-a-z0-9] )/([-a-z0-9] )-([0-9] )/ blogs/viewblog.php?username=$1&entrytitle=$2&entry=$3 [QSA,L]
RewriteRule ^blogs/([-a-z0-9] )/category/([-a-z0-9] ).html blogs/viewblog.php?username=$1&categorydata=$2 [QSA,L]
RewriteRule ^blogs/([-a-z0-9] )/([0-9]{4})/([0-9]{1,2})/ blogs/viewblog.php?username=$1&month=$3&year=$2 [QSA,L]
RewriteRule ^blogs/([-a-z0-9] )/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2}).html blogs/viewblog.php?username=$1&month=$3&year=$2&day=$4 [QSA,L]
RewriteRule ^blogs/([-a-z0-9] )/archive.html blogs/viewblog.php?username=$1&displaymode=archive [QSA,L]
RewriteRule ^blogs/([-a-z0-9] )/feed/ blogs/syndication.php?username=$1 [QSA,L]
RewriteRule ^blogs/([-a-z0-9] )/ blogs/viewblog.php?username=$1 [QSA,L]
to work with lighthttpds rules?

View Replies!   View Related
Wierd Htaccess Url Rewrite- Rewrites All Index Files
I have worked with mod_rewrite for years and never encountered this problem. I am converting html pages to a single php file and it works perfectly. I used htaccess the rewrite the urls to appear the same so that no links would be broken or lose SEO value.

The only problem is that my friend who also helped build the sites added different directories and within those directories are index.htm files that serve as a home page for the separate directory. Like /info/index.htm and /help/index.htm within the root directory. The problem is that for some reason my mod_rewrite directs to the main index.htm rewrite even if I include the whole path to the file. In htaccess I have this so far:

RewriteEngine on

RewriteRule index.htm$ index.php [L]
RewriteRule servers.htm$ index.php?action=servers [L]
RewriteRule movies.htm$ index.php?action=movies [L]
However there is a directory named "info" and inside that directory it has an index.htm file and it seems to conflict with my first mod_rewrite. I tried using:

RewriteRule /info/index.htm$ index.php?action=info [L]
and used other methods but none seem to work any ideas?

View Replies!   View Related
Apache Rewrite ==> Lighttpd Rewrite
I dowload a scripts with a .htaccess file

DirectoryIndex index.php
RewriteEngine On
RewriteRule ^link/([0-9]+)[/]*$ /redirect.php?id=$1
RewriteRule ^link/([a-zA-Z0-9]+)[/]*$ /redirect.php?tag=$1

I want to convert it to lighttpd rewrite rules, urgent, also I can't contact with the scripts author,

View Replies!   View Related
Can't Post With @ Symbol
I am running on a VPS system, and I have some auction software and I run Vbulletin as well..

When someone trys to do a Private MEssage via Vbulletin using anything with the @ in it.. Like an e-mail address. And hit submit, it says " /private.php access is denied.

But it also does it when I post news in the auction site. Which leads me to believe their is something screwed up with one of the server settings.. But I dont know what?

View Replies!   View Related
Ultimahosts Goes Off The Mark
My worst experience is with Ultimahosts - the ultimate non professional behaviour. Today I have woken up to see my account suspended and without any notice or reminder!

reason: Your account has been terminated following the 1 year expiry the plan. This is the final notification.

Where is my reminder that my account is near expiry? When asked no answer has been recieved till now and that's why I am hoping to get some answer from Mr Mark here along with an opinion of experts and users of this forum...

View Replies!   View Related
Check And Mark Bad HD Sectors
Loaded Ubuntu 9.10 last night and on first boot it tells me my HD have bad sectors. Which is nice, good reporting from the new Ubuntu edition.

So I kicked off "badblocks -f -v -s /dev/sda" this morning before I took off to work using SystemRescue CD. Came home during lunch and it is still running, looks like it is going to take forever.

This is a 500GB HD, I don't intend to buy a new one. I just want all the bad sectors marked so OS don't ever use them again. Is there a better utility than *nix badblocks?

View Replies!   View Related
Undefined Symbol: XmlTextReaderSchemaValidate
I triad to make restart for my Apache I have this result:

PHP Code:

[root@server ~]# httpd restarthttpd: Syntax error on line 39 of /usr/local/apache/conf/httpd.conf: 

Syntax error on line 9 of /usr/local/apache/conf/php.conf: Cannot load /usr/local/apache/modules/ into server: 

/usr/local/apache/modules/ undefined symbol: xmlTextReaderSchemaValidate 

View Replies!   View Related
Ffmpeg Symbol Lookup Error
ffmpeg: symbol lookup error: /usr/lib/ undefined symbol: speex_header_free

I am using a centos 5 vps

View Replies!   View Related
Mysqlhotcopy Error :: Undefined Symbol Mysql_server_init
I'm trying to use mysqlhotcopy on freebsd 6.1 with mysql 5.0.45, but I'm getting this error when executing it:

/libexec/ /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/mysql/ Undefined symbol "mysql_server_init"

at first, I was having problems compiling DBD-mysql, because mysql.h and mysqld_error.h wasn't on the include dir, so I had to add -I/usr/local/mysql-5.0.45-freebsd6.0-i386/include to cflags (I also tried -I/usr/local/include/mysql , but same happened)

since the error persisted, I changed all references to mysql_server_init (deprecated) to mysql_library_init (same for mysql_server_end -> mysql_library_end)

and the error still persists!

# ldd /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/mysql/ => /usr/lib/ (0x28178000) => /lib/ (0x28189000) => /lib/ (0x281a1000)

View Replies!   View Related
Why Would Hotmail Mark My Servers Mail As Spam
I just switch to a new server and I found out that hotmails is marking all my mail as spam, it goes directly to the junk mail folder, however gmail and yahoo is ok.

I have a broken reverse dns thought that my be but I'm not sure, anyone have any experience regarding this?

View Replies!   View Related
ASP.NET & URL Rewrite
I want a user to type and go to John Smith's homepage. His homepage is actually a dynamic page that is shared with all users which is I have created a URL rewrite script which finds the folder specified (JohnSmith) and finds the user ID from the database. It then displays the Shared.aspx page for the proper ID.

This works on my local machine because it's using Visual Web Developer as the hosting engine so it executes ASP.NET for every page load. When I upload this to an online host using IIS it fails because there is no folder named JohnSmith. I get a 404 online where I would get the proper page on my machine.

I have tried to work with 3 hosts to make this happen and noone can get this to work. I really need to either know what to tell the host to change or find someone who knows how to do this. I am obviously willing to change hosts if that's what it takes.

View Replies!   View Related
Rewrite URL
I'm wanting to make it so everytime someone goes to a link starting with:

it rewrites it to this:

How do I do this?

View Replies!   View Related
How I Can Use Mod-rewrite With Lighttpd
how I can use mod-rewrite with lighttpd.

Actually I am going to use phpprobid system and it has in built function for mod rewrite but I think it is for apache as if i turn it on I cant access pages

View Replies!   View Related
Lighttpd Rewrite
How I can convert the following into lighttpd rewrite?


View Replies!   View Related
Hotlinking (url Rewrite)
I'm facing some issues with hotlinking here. the htaccess do not work because users can still use their download manager to download the file without going to my site.

I've seen few sites that got tempoary url that changes every X times and that support download manager.

View Replies!   View Related
Rewrite In Lighttpd 1.5
i had following rewrite (for wordpress multi user ) and it was working with lighttpd 1.4.x but i dont know its not working in 1.5


$HTTP["host"] == "" {
url.redirect = ("^/(.*)" => "http://%1/$1")
url.rewrite-once = ("^/(.*)?/?files/(.*)" =>
"wp-content/blogs.php?file=$2", "^/(wp-.*)$" => "$1",
"^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "$2", "^/([_0-9a-zA-Z-]+/)?(.*.php)$" => "$2", "." => "index.php")

and its showing following error


mod_rewrite.c.293: (error) url.rewrite contains a regex for '/' which
leads to a URI without a leading slash: index.php

View Replies!   View Related
Mod Rewrite Rule
I have few subdomains pointing to a directory (using dedicated ip an A record)

I need the following rewrite rules:

[url]--> [url]
[url]--> [url]
[url]--> [url]

How can I do this?

View Replies!   View Related
Rewrite Rules
How do I set up rewrite on lighttpd?

View Replies!   View Related
Lighttpd Rewrite
to accomplish:

[url] ==> [url] however it should be proxied so that the user never sees [url]

This is because the sub domain is using apache while www is using lighttpd and I want to keep the entire site with www to the user.

View Replies!   View Related
Lighttpd URL Rewrite
I would like to use Lighttpd to rewrite and proxy as in this example:

1) There is no [url]download on server.

2) [url] => proxy => Apache 2.2 on same server to [url]

3) *.php should be handled by Lighttpd, however, the reason I want *.php5 to be done by Apache is due to compatibility issues.

proxy.server = ( ".php5" =>
( "localhost" =>
"host" => "XXX.XXX.XXX.XXX",
"port" => 81

The reason is because I don't want people to see .php5 file

Does this work using url.rewrite? If so how to do it?

I already have the following in lighttpd.conf, should the url.rewrite be placed in side of this?

$HTTP["host"] =~ "^$" {
url.redirect = ( "^/(.*)" => [url])

View Replies!   View Related
Rewrite Rule
I have to write Rewrite rule at .htaccess file

goes to

View Replies!   View Related
Lighttpd Rewrite
I have one script I need rewritten in Lighttpd

Code: =>
I tried the following but failed:

url.rewrite=("/v/[^/]*)" => "/vscript.php?key=$1")

View Replies!   View Related
Rewrite Rule
How to rewrite a url for example. I purchased ssl for and when i take [url], it gives ssl domain mismatch error.

ie i want to rewrite

View Replies!   View Related
Kazix / Fatnetwork / "Mark" And "Jacob"
A year ago I started up a website for me and some friends. By the end of last year ( December ) the website had died and I knew that I ( being a broke college student ) wouldn't have the funds to pay for a renewal.

I contacted Kazix and told them I was having trouble figuring out how to cancel my account and asked if they could do it for me or inform me how. I received the following email on Dec 18th 2007:


As soon as the hosting is about to end. You will get notice from our billing department.

-- Regards, Mark Senior Administrator"

I figured this email would tell me how to cancel my account if I did not wish to renew it. I never received such an email.

I found out Friday that my banking account was over-drawn. I thought this was through my own error, but when I looked closely today, I noticed it was because, the third-party billing company used by Kazix/Fatnetwork, had charged me for hosting renewal and had caused my account to go negative.

I sent them an email informing them that I had asked back in December for my account NOT to be renewed and that they had in fact went ahead and renewed it anyways. I requested that they reimburse me the charge of the domain, hosting, and overdraft. I had wrongly thought that my domain name was processed through them as well.

I received an email from saying:

"Your domain is not registered by KAZIX – only hosted
See WHOIS by yourself
The respond you got not from us – from GoDaddy – your domain registrant

( Who is removed )

You never requrested a cancellation from us – blame yourself for over drafting, you should know where your account hosting with
I’ll refund the charge of $44.99 and cancel the 2CO subscription as well as your account with KAZIX– that’s all I can do for you"

I wasn't really expecting them to reimburse my overdraft charges ( really, why should they pay for their mistake that harms others? ). And I fully admit that I did honestly forget that my domain name was registered by my husband and not by Kazix. What did surprise me was the tone of the email. I did use the Kazix's contact form on their website to request that my hosting be stopped. Why would I contact Go-Daddy if I had completely forgot that they were the ones in charge of my domain? If I hadn't contacted Kazix, why did Mark send me an email from fatnetwork in response to my request to cancel my account? Yeah. Someone was just being rude and snippy because they didn't want to admit that they made a mistake.

I sent a reply back to the rude man and informed him that I found his email to be very rude and not a good way to handle customers. I also informed him that I did use the contact page on Kazix's website and that I fully knew who my hosting was through.

I received this email as a reply:

"I’m sure you have some other things to do Saturday night – not only be rude
I’ve responded you( from home, because billing is working only Mon-Fri )
I’ve refunded your charge immediately
I’m very glad you are not our customer anymore
Have a great weekend
Billing Department"

Me and my husband were both floored when we read this. Who would handle customer support this way? I couldn't believe that he would have the gall to call me rude just for me pointing out his own rudeness. Then of course there is the nice touch of "I'm very glad you are not our customer anymore." Could you imagine someone in retail or any other face-to-face business practice saying this to you?

You know I didn't leave Kazix because I found it to be "bad." I just left it because of my own financial reasons. I had some technical problems with them before and found them to be helpful. If I hadn't experienced all of this, I probably would have recommended them to others and used them again. Now? I seem them as a shady group of characters who care more about their customer's money than they do about their actual customers.

As I see it now, they obviously did not want me to cancel my hosting with them and obviously wanted to renew my account for the money. What about my say in not wanting their services anymore and wanting to keep what little money I had left in my checking account? It didn't matter.

Stay away from Kazix and Fatnetwork. Let my bad experiences be your warning.

View Replies!   View Related
Geoip Url Rewrite To Cloak A URL
I just purchased geoip and I want to use it to cloak my file mirrors:

I think it can be done using htaccess and url rewriting but I'm not sure how.

if ($country == "UK")*.jpg => retrieve .jpg from current location on*.jpg

If ($country != "UK"}*.jpg =>*.jpg

However, I don't want people to ever see*.jpg being retrieved from

So I want to cloak/hide the domain name in case 2.

View Replies!   View Related
Lighttpd Url Rewrite Help For Wordpress
I'd like to use lighttpd on my server but it doesn't support url rewrites for wordpress. I have a VPS running on kloxo and i have 4 clients using WP2.71 with permalinks.

After searching i found something really nice:
Create a file called /etc/lighttpd/wp-rewrite.conf with the following contents:

url.rewrite-once = (
"^" + wpdir + "(wp-.+).*/?" => "$0",
"^" + wpdir + "(sitemap.xml)" => "$0",
"^" + wpdir + "(xmlrpc.php)" => "$0",
"^" + wpdir + "keyword/([A-Za-z_0-9-])/?$" => wpdir + "index.php?keyword=$1",
"^" + wpdir + "(.+)/?$" => wpdir + "index.php/$1"

Then, in your /etc/lighttpd/lighttpd.conf, you should have something similar to this:

$HTTP["host"] =~ "" {
var.wpdir = "/"
include "wp-rewrite.conf"
source: [url]

what i want to change is this part:

$HTTP["host"] =~ "" {
var.wpdir = "/"
include "wp-rewrite.conf"

View Replies!   View Related
How To Enable Mod Rewrite In Webmin
Where do I enable mod rewrite in webmin? my wordpress permalinks doesn't seem to work with pretty links

View Replies!   View Related
Rewrite Not Working With ProxR
I'm not even really sure if rewrite is what I need, but basically I have an alias/proxy setup on apache which points to My script php executes on the second server, so it assumes that the address should be I need to rewrite this to Here's my code:

RewriteEngine on
RewriteBase /
RewriteRule ^itunes/(.*).php$ pr/itunes/(.*).php

View Replies!   View Related
Mod Rewrite Sub Directory To Subdomain
i'd like to use a code similar to the one below, to rewrite a sub directory to a subdomain. to and then error 301 if someone goes to directly

# rewrite foo subdomain requests to foo subdirectory
rewriteCond %{HTTP_HOST} ^
rewriteCond %{REQUEST_URI} !^/foo/
rewriteRule (.*) /foo/$1 [L]
# Prevent direct client access to foo subdirectory
rewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /foo [NC]
rewriteRule ^foo(.+) [url]

View Replies!   View Related
URI Rewrite With Windows Server
We have a server that is (unfortunately) running Windows. I'd like to change the strings from something like index.php?p=home to /home. I know how to do this on an Apache server, but I'm completely clueless for a Windows server running IIS.

View Replies!   View Related
Mode Rewrite Is Not Working.
I have got a dedicated from 1and1. I could not get it working.

I tried the same htaccess with godaddys hosting, it worked fine.


RewriteEngine On
RewriteRule ^(index*).html$ /index.php [L]
RewriteRule ^(aaa*).html$ /aaa.php [L]

#php_flag register_globals off
I do not want to send them e-mail because it takes ages to get the answer.

What can it be wrong.

I get 404 error.

View Replies!   View Related
Apache Mod-Rewrite Unavailable
I have all my specify modules are loaded in pache like mod_rewrite in other face I have a script need require mod_rewrite in install steps but I have in testing : Apache Mod-Rewrite Unavailable

but when I run httpd -l I get this list

PHP Code:

[root@server ~]# httpd -lCompiled in modules:  core.c  prefork.c  http_core.c  mod_so.c[root@server ~]# 

View Replies!   View Related
Apache Rewrite Rules
With this whole no-www thing going on. I've decided to have a look at whether I can do this for my domains.

Instead of writing a

RewriteEngine On
RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteRule ^(.*)$ h77p://$1 [R=301,L]

for every single domain I'd like to do this for across all domains as standard. I'm not too hot on rewrite rules and have in the past avoided them cos of the complexities. But I'd like to get this done, and no silently do it, but reflect the URL difference in the webbrowsers address bar too.

View Replies!   View Related
Mod Rewrite On Windows 2008/IIS7
we are looking for someone to assist us with configuring the ExpressionEngine CMS on a Windows 2008 server.

We have it runnining under fastCGI that supports php on IIS. We are running IIS7, and using the URL Rewrite Module on IIS7.

We are having a problem removing the index.php from the address bar using the URL Rewrite. It works on the interior pages but not on the homepage and because of this the 404 page is not working.

The mod rewrite module generate a web.config file that has this in it....

View Replies!   View Related
Anyone Here Know Zeus Server Rewrite Info
I am on a Zeus server and I am trying to do a 301 redirect from my .net to my .com

View Replies!   View Related
Redirect / Rewrite To An External Server
app and content are separate physical machines

I want [url]to be processed by app directly, which it's doing now

I want [url]or [url]to display content from content, either directly or through a hidden/stealth redirect.

How can this be accomplished? How else can I have one URL serve from two different servers other than using subdomains?

View Replies!   View Related
Space To Dash Conversion Rewrite
to create an .htaccess rewrite so that all urls in a given directory have their files rewritten so that the %20 spaces are converted to dashes. I'd also like to convert my upper case words to lower case, to stay consistent with other conventions we use in the url.


View Replies!   View Related
Does Anyone Know The Mod Rewrite Code To Direct To Www. And Https
Does anyone know the mod rewrite code to direct to www. and https?

View Replies!   View Related
Isapi Rewrite For Expression Engine
have to say the EE forums have been a help to some extent.

I'm trying to rid my Expression Engine site of the index.php? part in my URLs using ISAPI REWRITE on IIS.

I've got [ISAPI_Rewrite]
RewriteRule (/(?:site|member|search|Pd{1,8}).*) /index.php?$1 [I,L]

which removes the index.php but not the? part.

View Replies!   View Related
VPS Server My First I Dont Think Mod Rewrite Works
I finally bought a VPS after not being able to pay for a dedicated server so I bought one from as they came highly recomended $39.95 server with Cpanel not the cheapest I gathered but I wanted reliable servers

now I moved my forum over to the server all was ok after I got the massive database sent over but when I tried to view a thread or category I could not it came back with No Valid input or something like that

I went into admin and disabled zoints SEO mod and the forum works fine BTW its a VB forum.

would it be due to mod rewrite that the forum does not work with zoints? and is it possible to get it to work?

View Replies!   View Related
ISAPI Rewrite Filter - Alternatives To RewriteMap
we're using IIS 5.0 which doesn't have any flexible support for rewriting URLs which include parameters (AFAIK, anyway). We're currently testing an ISAPI Rewrite Plugin, which emulates the syntax and behaviour of mod_rewrite, which is why I felt this forum category to be the most appropriate for this post.

Our URLs at the moment look like:-

[url]where 'hg' is an instance of a key. In this particular example, we wish to rewrite our URL to read [url]homegarden' where 'homegarden' is a value of that respective key.

Since the value 'homegarden' isn't present in our current URL, we need some way to associate this value with it's relevant key, by mapping one to another. The ideal solution in this case would be to use RewriteMap, however the ISAPI plugin doesn't support this directive.

One other solution, that I've seen here is to use the 'homegarden' value as the key instead. However, due to the lack of flexibility of our system, this isn't possible.

Another method of achieving this is to hard-code a RewriteRule for every instance of a key, but this solution has obvious performance drawbacks (we have around 400 categories)

So, at the moment I'm out of ideas, which is why I thought I'd try and rack your brains for suggestions. An ideal scenario would be to use something like RewriteCond (which is supported by the plugin) to attach a file which would contain the key/value map.

The current supported directives are :-


Even if it's not possible using one of the above, maybe someone can point me to solution involving a method other than using this particular plugin?

View Replies!   View Related 3.5 / ISAPI-Rewrite / MsSQL Shared Hosting
Since about 2002 I have constantly had my own co-located and then dedicated box. Before that, the only paid host I ever used was Now that I sold off most of my sites, it is time to move to a smaller, shared hosting plan.

My question is can anyone suggest a good hosting plan? I do not need a lot of space or bandwidth, but I do require a few things:

- 3.5 is a huge plus, but 2.0 is do-able

- At least one msSQL database

- Daily backups is also a huge plus. I don't need this second, but eventually I will want it.

- Good technical support is a must. I have dealt with to many companies even with my dedicated hosting that offered horrible tech support. A three day wait on a question is not acceptable. Phone support is a plus, but a 24 hour reply on an email is enough.

- ISAPI-Rewrite, or an equivalent is a must. I rewrite my URL's for SE rankings, as I believe everyone should, so the ability to host a rewrite script is a must. Though I use ISAPI-Rewrite, if their is an equivalent that is do-able.

- Need to be able to run at least (2) domains. My main company domain and then a second domain which is basically a landing page. In future I need a 3rd domain added, so ability to upgrade or add on a domain cheaply is a must too.

If you own a hosting company that matches this, or can suggest any please do so. If you suggest and they offer a referral program feel free to let me know your referral code as you obviously deserve the credit for suggesting the company.

View Replies!   View Related
Nginx Rewrite Causing Wrong Path For PHP Script
I have a large chunk of rewrites to help clean up my url's a bit on my site.. On my local machine I am running Apache and just use an .htaccess file and normal php as a module, so no problems there..

But on my server however, I am running Nginx and running PHP as a fastcgi process. In my site's config file I have my fastcgi_param set to /home/user/html/public$fastcgi_script_name...

Well I need a way to change the value of fastcgi_script_name when I have modified (search friendly..) url's that are being rewritten. Because instead of grabbing the script name, like public/text.php?x=z it will grab public/text/post-title.html and then throw me a "No input file given." error (because there is no file there..).

How should I go about sending the true PHP script name to my fastcgi_script_name variable? It just grabs the URI of the PHP script.. what other options are there?

View Replies!   View Related
Running External Rewrite Maps Without Defining A RewriteLock Is DANGEROUS!
I'm having some trouble finding info on a few things in my logs.

every time i reboot/restart apache, the following prints to my error log immediately after coming online:


[warn] mod_rewrite: Running external rewrite maps without defining a RewriteLock is DANGEROUS!

View Replies!   View Related
.htaccess On IIS
I am using a script, on which i want to enable friendly URL, below are the instructions.

Friendly URLs Settings
Apache Settings

(please add the following lines to your
.htaccess file to turn on friendly URLs)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /hcl/friendly_url.php [L]

But, issue is, i am using IIS on Windows Server.

How can i implement this?

View Replies!   View Related
Com To With .htaccess
I want a rule in .htaccess that will convert all .com addresses into ones as I have a .com mapped to the address for the site.

View Replies!   View Related
I have a vds with godaddy. I uploaded my site and then uploaded .htaccess (AddHandler server-parsed .html) Then when I go to my site in browser I get this error.

Safari can’t open the page “mydomain”. The error was: “lost network connection” (NSURLErrorDomain:-1005) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

The thing is, I did the exact same thing on another domain with the same htaccess file and everything works fine. SSI is enabled on both.

View Replies!   View Related
I'm currently having a problem with a site of mine. The problem is that trying to go to (with or without the trailing slash) gets a 404 error (even though the directory exists).

However, works fine.

When trying to figure out what is causing this, I remembered that someone who recently did some work on this site had to add something to the .htaccess file. Here's what they added:

RewriteCond $1 !.(php|ico|gif|jpg|png|css|js|htm|html|txt|zip|pdf)$
RewriteCond $1 !^$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [L]

I haven't done much with .htaccess, so I really have little idea what any of the above means or does (although I know it does something important).

So I guess my question is, could this bit of code be causing my problem? And, if so, how can it be corrected without messing up what this code was put there for in the first place?

View Replies!   View Related
Can I Use .htaccess With IIS
My application is on Windows plateform and using IIS as webserver.

Can I use .htaccess to secure my directory...

View Replies!   View Related

RewriteCond %{QUERY_STRING} ^showtopic=([^&]+)&st=0$ RewriteRule ^forum/index.php$ [url]
I get a 500 Internal Server Error when I put that in my .htaccess file. Got it from [url]

View Replies!   View Related
htaccess file that will redirect all requests for the domain to --


so what I want is all traffic to be secure and use the 'www'.

View Replies!   View Related
Copyright © 2005-08, All rights reserved