rewrite

  1. W

    SymLink to new folder - rewrite [moved]

    I have a folder that needed a new name. (was 'tgsw', now 'ultra') The old name needs to remain active for users who have saved that url. I asked the admins for a symlink 'tgsw' & 'tu' to the renamed folder 'ultra', but instead they put the following in htaccess, which does not work...
  2. A

    mod rewrite problem

    I cannot get something like this to work in my .htaccess. Options +FollowSymLinks RewriteEngine on RewriteRule index-id-(.*)\.htm$ index.php?id=$1 I used the tool from http://www.webconfs.com/url-rewriting-tool.php I tried this on 2 servers. Now, this does work ( great 301...
  3. mike25

    Add on domain image rewrite

    Why when creating add on domains is the following line added to the end of the .htaccess file RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] This line seems to not let users load images from their sub domains for the add on domains content, is it supposed to serve some purpose?
  4. S

    SpamAssassin From and To rewrite broken after switching to Courier

    I'm sorta putting this out here just to see if anyone else is experiencing this issue. I recently switched from mbox to maildir, which I'm assuming caused this change (but of course, this could be wrong, because I ensured that cPanel was up-to-date before performing this change, which did...
  5. R

    rewrite not working after restore?

    It appears that mod rewrite isn't working properly after a restore. It is compiled for apache, the module exists, and everything seems to be setup ok, however (and I notice this will all sites running gallery) that rewrite isn't takeing affect. PHP version 4.3.11 no phpsuexec I don't...
  6. S

    Subdomain rewrite rule

    Hello, I have been looking around but haven’t found quite the right thing for me. Well basically I need a rewrite rule to rewrite from www.domain.com.au/some/dir/file.php to members.domain.com.au/file.php and the members.domain.com.au will not change only the file at the end such as...
  7. B

    Forward issue and rewrite rules HELP!

    I want to do this I have this situation A -------------------> B ------------------------------> C B is a forward to C ok? A its me. So when A sends to B, B send its to C. The problem is that the message arrives to C from A. Is there a rewrite rule in antivirus exim or in...
  8. S

    Fake URL using Rewrite, how-to question

    Hi there, My user wants to have url redirect without giving his real directory: When someone is viewing this URL: http://mydomain.com/site/index.html He is actually looking at the following URL http://mydomain.com/phpnuke/index.html How do I accomplish this? In the .htaccess...
  9. G

    mod rewrite

    this is more of an apache question but i want to make php work on a diff extension eg ".dj" will work as a php file, so what would be the .htaccess code i put in the users directory ?
  10. verdon

    Spam Assassin subject rewrite stopped working

    Hi, Spam Assassin auto-updated for me and subject re-writing is no longer working. Spam Assassin is running and the report is in the email body, just no subject re-writing. It still seems to be enabled in the domain cpanels, just not happening though. Has anyone else noticed this? Any...
  11. V

    Hotlinking Protection & Other Rewrite Rules Won't Work Together

    I have a hand-coded .htaccess file with both hotlinking protection code in it and some other rewrite rules. When I uploaded it to my web server, I noticed that the hotlinking protection wouldn't work, although cpanel said hotlinking protection was enabled. Here's a portion of my .htaccess file...
  12. M

    Spamassassin w. Exiscan, Rewrite Message...

    I want to do the following with messages that are marked as spam by Spamassassin. 1. Rewrite Subject 2. Take original message and make into an attachment 3. Put the spam report into the body of the message (so i know why a message was marked as spam). I have #1 down, but am having...
  13. A

    Rewrite mod + frontpage = CRASH

    Hi: I've experimented one problem, and at last searching with Google I found at least the cause. As you can see in many of this result page of Google (http://www.google.com/search?q=%22RewriteEngine+on%22+Frontpage&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8) the htaccess...
  14. C

    .htaccess and rewrite function....

    Hi, A friend wrote a script for me to auto create phpBB Forums. It included the following .htaccess file :- Go here ----> http://phpbb.board-host.org/Arrow/ and see what happens. I think it is somthing to do with the way the rewrite function is compiled in apache. Any ideas? Yours...
  15. I

    Perl script to rewrite named entries

    Ive managed to bugger up most of my dns zones, i remember using a script when i was having probs that ran through perl that rebuilt all of the zones automatically, but i cant find it... im sure it was via this forum, anyone got a link for me? Thanks
  16. N

    Rewrite? Httpd entry?

    A customer is asking me if I can modify my http.conf file, adding the below information: <VirtualHost *> ServerAdmin [email protected] ServerName zoperoot.hisdomain.com RewriteEngine On RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/zoperoot.hisdomain.com.com:80/$1...
  17. M

    mod rewrite trouble

    can someone see why something simple as this would work on my old ensim server, but when I try to use it on my cpanel server it just doesn't work; RewriteEngine on Options +FollowSymlinks RewriteBase / RewriteRule ^/~(.*)$ http://www.domain.net/$1 [R] I've also tried placing it in the...
  18. Host4u2

    rewrite via htaccess

    Can any of you gurus tell me the code to add to an account's htaccess to rewrite all "www.domain.com" to automatically go to "domain.com" (without the www)? Can this be done using the htaccess file?
  19. J

    rewrite of [email protected] yielded unparseable...

    I notice the following error in my apache error_log when submitting a php form: 2003-09-18 15:42:02 1A00uw-0004jd-O2 Rewrite of [email protected] yielded unparseable address: malformed address: <> may not follow [email protected] in address [email protected]<> Apparently when using...
  20. H

    Using rewrite to get subdomains of addon domains

    Hi all, I've seen all of the posts on how CPanel (even up to v7) doesn't let you create subdomains of addon domains. But then I thought, why can't we just use mod_rewrite to do the right thing. My host manually added my subdomain into the DNS, so now I can access both addon.com and...