1. J

    cPanel blocking incoming e-mail before EXIM rewrite or router

    I am writing an EXIM rewrite and router. cPanel is denying the incoming message before EXIM starts processing. I have incoming mail to a non existent user and I need to rewrite the header to properly route the message, but cPanel is blocking it before EXIM sees it. It is this setting that is...
  2. J

    Exim rewrite: malformed address: <[email protected]> may not follow [email protected]

    After a recent cPanel update, I am getting the error on some emails: rewrite: malformed address: <[email protected]> may not follow [email protected] This looks exactly like verify = header_syntax The Exim FAQ Section 0 However, I do not have verify = header_syntax anywhere in the config that I...
  3. J

    SOLVED Rewrite works in .htaccess but does not work in pre_main_global.conf

    I am trying to move rewrites from .htaccess files to /etc/apache2/conf.d/includes/pre_main_global.conf For testing purposes, the complete content of pre_main_global.conf is: RewriteOptions inherit RewriteEngine on RewriteCond %{HTTP_HOST} ^domain\.com$ [OR] RewriteCond %{HTTP_HOST}...
  4. J

    How can I log rewrite errors with apache 2.4?

    I have a RewriteRule that is not working. So I want to look at a log file for clues about what went wrong. Here is what I tried. I used WHM to edit the apache global config by setting log level to “debug” and Trace enable to “extended. I saved the settings, remade and restarted apache. Then...
  5. J

    SOLVED Need a little basic help with rewrite is a subdomain. There is an .htaccess file in the root for this subdomain I edited that file and just after the line RewriteEngine on I added the line RewriteRule ^test$ "https\:\/\/google\.com\" [R=301,L] I restarted apache and entered the following in my browser...
  6. V

    How to enable Rewrite engine module in C panel

    Dear team, how to enable rewrite engine module in Cpanel. I have to try to add RewriteEngine in the .htaccess file but still receiving a warning. Please refer attached screenshot. I will be waiting for your reply Thanks Vijay
  7. J

    Exim Header Fields and Rewriting

    In the docs on customizing the Exim System Filter File How to Customize the Exim System Filter File | cPanel & WHM Documentation there is a reference to "$_from:" which would be the sender's address ("From" in the Exim docs.) Where is a complete list of all header field names available for...
  8. S

    Redirect Rewrite Code

    Is the .htaccess code added to an account via the Redirect (cPanel -> Domains -> Redirects) page correct? It looks like the code added to the .htaccess file is: RewriteCond %{HTTP_HOST} ^.*$ RewriteRule ^/?$ "http\:\/\/%domain%\/%path%" [R=301,L] But shouldn't this be: RewriteCond...
  9. K

    enabling tmp links and .htaccess rewrite rules

    hello guys I have just purchased a VPS as I am a Freelance Website Developer and plan to grow in the next year or so; hence the upgrade as I need stability. I use a bespoke PHP content management system which uses several Rewrite Rules via .htaccess and since migration I cannot get the...
  10. S

    htaccess Rewrite Questions

    Thank you in advance. Here is my question: I placed the following 2 lines of code in my .htaccess file to redirect non-WWW to WWW: RewriteCond %{http_host} ^ [nc] RewriteRule ^(.*)$$1 [L,R=301] Last year, cPanel was upgraded on my server and it now "adds its...
  11. J

    Rewrite Rule changing compression headers?

    I'm a customer, not a webhost. But I'm posting here because my web host is being adamant about his server not being the problem...and this issue being my problem. So here is my question. Are there security features in cPanel or Apache that will strip off Accept-Encoding headers for urls that...
  12. V

    Enabling Temporary Links and .htaccess Rewrite Rules

    Good afternoon everyone, I have just purchased a VPS as I am a Freelance Website Developer and plan to grow in the next year or so; hence the upgrade as I need stability. I use a bespoke PHP content management system which uses several Rewrite Rules via .htaccess and since migration I cannot...
  13. M

    Rewrite URL in htaccess to hide certain characters

    Hi guys I have a problem and also lack the understanding to put this rewrite rule in place. I only need to remove these characters from any URL on our website ?rid= from this: to this: The first section is created by wordpress...
  14. J

    SOLVED Mod rewrite (.htaccess) not working anymore

    After all updates last night and the latest builds my mod rewrite in Joomla using .htaccess don't work anymore, how can this be possible?
  15. Arvy

    FormMail & Exim rewrite - lost contact email

    Hi there, if I let the Exim option "Experimental: Rewrite From: header to match actual sender" activated, FormMail lost the "email" field and message came with the server's default email. <form action="/cgi-sys/FormMail.cgi" method="post"> ... <input name="email" maxlength="255" size="42"...
  16. S

    Mod Rewrite expert, I need help

    I want to set a website where user can get Lets say my domain is and I already activated wild card setting into the httpd.conf config. What I want: 1. When accessed, the server will process 2. When...
  17. T

    Setup Rewrite Rules for different websites

    Hi all! Complete newb here so bare with me. We just decided to move our websites from our own dedicated servers to a new colo where we are now on a VPS. I am just about finished setting up our first website, but need to setup the rewrite rules we had previously. We have multiple sites and I...
  18. D

    how do i get mod rewrite working

    so how do i get mod rewrite working, because its not. and the solutions from google are to vague for me. the module is loaded in apache, but the .htaccess files arent doing anything
  19. R

    .htaccess rewrite rule error

    Hi, I added RewriteRule ^(.*)\/(\?.*)?$ $1$2 [R=301,L] to delete the last / of an URL, but now my website is messed up, how can I undo this change? I deleted the line, but still when i try to push the link I get: The requested URL /home/nicolke113/domains/ was not...
  20. I

    Rewrite rule not working.

    Hello, I have created rewrite rule from cpanel but one url is working second giving me cpanel default apache page. Web site is hosted on Cpanel server and is external website. 1). Subdomain successfully redirected to RewriteEngine on...