Rewrite, Redirect or so, Apache Config-Tool

Alles, was den Apache betrifft, kann hier besprochen werden.

Rewrite, Redirect or so, Apache Config-Tool

Postby gibor » 08. November 2015 22:20

G'day mates,

I'm getting crazy while I'm trying to configure a Linux/Apache rewrite / redirect rule.

Situation:
System with typo3, .htacces with loads of Redirects and other stuff (options with -f -d ,...)
Apaches Doc-root: /www/www.xxx.com/htdocs
ToDo:
a permament redirect of /www/www.xxx.com/htdocs/xxx to /www/www.xxx.com/htdocs/xxx/yyy (directorys) but in the browser the URL should be like https://www.xxx.com/xxx/<ANYTHING.HTML>

All my attempts failed because ? I think something with typo3-config rules.

Any idea?

Is there a tool available wich analyses the config of the apache (local) and shows its result?

thx. for help.
gibor
 
Posts: 2
Joined: 08. November 2015 22:10
Operating System: Linux

Re: Rewrite, Redirect or so, Apache Config-Tool

Postby gibor » 08. November 2015 22:21

All necessary modules are enabled.
gibor
 
Posts: 2
Joined: 08. November 2015 22:10
Operating System: Linux

Re: Rewrite, Redirect or so, Apache Config-Tool

Postby Nobbie » 09. November 2015 12:20

gibor wrote:Any idea?


No, how should we?? You neither showed your rules, nor the typo3 rules. How am i supposed to see what is wrong??

gibor wrote:Is there a tool available wich analyses the config of the apache (local) and shows its result?


No, at least no "debugger" for rewrites.


Why dont you simply use an ALIAS for that problem? Simply insert

Alias /xxx /www/www.xxx.com/htdocs/xxx/yyy

into your Apache configuration, it should do the job.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04


Return to Apache

Who is online

Users browsing this forum: No registered users and 254 guests