---
title: "Realurl: My Urls are not rewritten."
url: "https://www.typo3.net/d/84465-realurl-my-urls-are-not-rewritten"
source: "typo3.net"
tags: ["Extensions","English","Frage","RealURL","URLs & Routing"]
created: "2008-11-27"
last_reply: "2008-11-27"
replies: 0
solved: false
page: 1
pages: 1
lang: "en"
---

# Realurl: My Urls are not rewritten.

Extensions · 0 Antworten · gestartet 2008-11-27

## Eröffnungsbeitrag

**pcsystemd** · 2008-11-27 · [Beitrag #1](https://www.typo3.net/d/84465-realurl-my-urls-are-not-rewritten/1)

Hello,

I installed RealUrl for the rewriting of my urls but it does not work. Note that I am local (localhost) and Apache2.

So first I added the mod_rewrite module in apache2 with:

 **a2enmod rewrite**

then I checked with phpinfo () that mod_rewrite was loaded in the section **apache2handler** which is the case:
*Loaded Modules*

```apacheconf
 core mod_log_config mod_logio mod_alias prefork http_core mod_so mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_owner mod_authz_user mod_autoindex mod_cgi mod_deflate mod_dir mod_env mod_mime mod_negotiation mod_php5 [b]mod_rewrite[/b] mod_setenvif mod_status mod_userdir 

then in my .htaccess I added:

# URL rewriting
                #
                # RewriteBase /
                  RewriteEngine On
                  RewriteRule ^/repertoiretypo/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php|favicon\.ico)/ - [L]
                  RewriteRule ^.*/typo3/.*$ - [L]
                  RewriteRule ^.*/typo3/$ - [L]

                   RewriteCond %{REQUEST_FILENAME} !-f [OR]
                   RewriteCond %{REQUEST_FILENAME} !-d [OR]
                   RewriteCond %{REQUEST_FILENAME} !-l

                   RewriteRule ^.*/$ /repertoiretypo/index.php [PT]

I then restart apache2 and I added my template code Typoscript following:

config.simulateStaticDocuments = 0
config.baseURL = http://localhost/repertoiretypo/
config.tx_realurl_enable = 1 

Then I installed the extension Urltool to create my configuration to a file called [b]urltoolconf_realurl.php[/b] taking care of obviously change the value rootpage_id by the id of my racine.In my [b]localconf.php[/b] ago l 'call to file a [b]urltoolconf_realurl.php[/b] include:
```

@ include (PATH_typo3conf. 'urltoolconf_realurl.php'); / / RealUrl-Setting inserted by extension aeurltool [/ code]

Yet this does not, my urls are not rewritten.

Have an idea you can come or the problem?

Thank you very much

---

Quelle: „Realurl: My Urls are not rewritten.“, typo3.net, https://www.typo3.net/d/84465-realurl-my-urls-are-not-rewritten
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
