Hi there,
I've created a homepage in a subfolder and included the redirect domain.com/USERNAME
this actualley worked perfectly well. However, I've just redirected my domain into the subfolder (so visitors will get directly into the subfolder and get the adress like: domain.com instead of domain.com/subfolder )
Now my problem is, that the redirect won't work anymore
Here's my htaccess file:
[code:1]# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
DirectoryIndex index.htm index.html default.htm default.htm
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName ******.***.***.ch
AuthUserFile /home/www/***/html/_vti_pvt/service.pwd
AuthGroupFile /home/www/***/html/_vti_pvt/service.grp
RewriteEngine On
RewriteOptions MaxRedirects=10
DirectoryIndex index.php
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ index.php?option=com_comprofiler&task=userProfile&user='$1'&Itemid=38 [L]
RewriteCond %{http_host} ^www\.matterhorny\.ch [nc]
RewriteRule ^(.*)$
matterhorny.ch/$1 [r=301,nc][/code:1]
(replaced some information with ***)
I've also included a rewrite to get rid of the www. (this shouldn't be the problem as it did work well before.)
Any help would be great.
My error that I'm getting is a 404:
The requested URL /Shronk was not found on this server.
Apache/1.3.36 Server at matterhorny.ch Port 80
Post edited by: Shronk, at: 2007/12/22 04:42