Howto: create homepages and 'subdomains' per user

17 years 9 months ago #15724 by elDivino
thanks alot.

okay I copy/paste your code in the file, but still get the 500 Error message.

any other ideas?

cheers

cheers
Tom

Please Log in to join the conversation.

17 years 9 months ago #15820 by trail
I have no clue.. your error log does...

DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age , Starsign Matchmaking Horoscope , My Visitor , My Highscores , My ProfileID ,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many :)

Please Log in to join the conversation.

17 years 9 months ago #15826 by elDivino
trail wrote:

I have no clue.. your error log does...


error log is still this one
> > [Tue Jun 20 10:42:14 2006] [error] [client 80.219.131.155] mod_rewrite:maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.

my provider says this script generates a loop because of pointing again to the directory with the htacess file

I don't understand the problem

cheers
Tom

Please Log in to join the conversation.

17 years 9 months ago #15902 by trail
Again, this a paste of my htaccess..

[code:1]RewriteEngine On

Options +FollowSymLinks


DirectoryIndex /index.php
RewriteBase /

RewriteCond %{HTTP_HOST} ([^/]+)\.djtrail\.nl [NC]
RewriteCond %1 !www$ [NC]
RewriteRule ^(.*)$ www.djtrail.nl/%1 [L]


RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d

#
# usernaam toestand
#

RewriteRule ^([^/]+)/?$ index.php?option=com_comprofiler&task=userProfile&user='$1' [L][/code:1]

The only thing i notice is an UNESCAPED dot in .ch in your RewriteCond..

Please take mine and change it VERY carefully to your domain.. LEAVE ANY slashes in the places where they are.. even if it looks weird..

Post edited by: trail, at: 2006/06/23 21:25

DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age , Starsign Matchmaking Horoscope , My Visitor , My Highscores , My ProfileID ,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many :)

Please Log in to join the conversation.

17 years 9 months ago #16013 by elDivino
thanks again for the code

Damn it's so stupid

No I have no 500 ERROR Code anymore, but no forwarding

it only shows the frontpage

and without subdomains, like tuningworks.ch/tom it works and points to my userpage

I don't get this...:unsure:

cheers
Tom

Please Log in to join the conversation.

17 years 9 months ago #16146 by trail
well at least thats something huh :)

DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age , Starsign Matchmaking Horoscope , My Visitor , My Highscores , My ProfileID ,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many :)

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.427 seconds

Facebook Twitter LinkedIn