Help with Drupal and Directadmin for user registration

Dick_Janssen

New member
Joined
Jan 10, 2010
Messages
3
Hi,

I am working on a website using drupal on my directadmin host.

The problem I face is that the /user/registration path for Drupal is the same as the one for Directadmin. If someone wants to register on my site, they are forwarded to the directadmin user registration form. How can I override this?

One solution could be to put my drupal website inside a directory/folder, but then how can I point the main domain to this particular directory? I tried this already, but somehow I don't seem to manage.

Any help on this would be greatly appreciated.

Kind Regards,
Dick Janssen
www.aivia.nl
 
Last edited:
LS,

Just some thought after reading your posts...

On a drupal site is by default on: http:/example.com/login


From your post, I read you DA configuration is also set to this url?

drupal can be put in a sub-dir for example http://example.com/subdirname in this way you are avoiding the duplicate url, but your site is only seen by entering that address.


Is there a way for you to change the config setting of DA so the login url points to another address? (Or configure is on the default port 2222.....)
 
Last edited:
LS!( That's a long time ago I used LS in a post..... )

Thanks for the quick reply :-)

My website works fine on its own : www.harmoneco.nl

Just whenever I use www.harmoneco.nl/user/bla bla bla I am forwarded to the change password screen of directadmin. Since Drupal sends out these URLs I am confronted with a site where users can not log-on....

I also found other posts regarding this issue, yet I have not found a working solution yet. They point me in the direction of .htaccess redirects for /user. I am rather a newbie on this whole .htaccess/apache area. : http://ip-66-51-122-131.tera-byte.com/forum/showthread.php?p=129095


[root@tsmyp /]# telnet www.harmoneco.nl 80
Trying 109.70.1.10...
Connected to www.harmoneco.nl.
Escape character is '^]'.
GET /user HTTP/1.1
Host: www.harmoneco.nl


HTTP/1.1 302 Found
Date: Sun, 10 Jan 2010 16:06:40 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.5
Location: http://www.harmoneco.nl:2222/CMD_CHANGE_EMAIL_PASSWORD
Vary: Accept-Encoding,User-Agent
Content-Length: 1
Content-Type: text/html

Connection closed by foreign host.


I also have a site running ( fresh drupal install ) under www.keldeleers.nl

Click on the 'Mijn Account' link et voila.......


And no : I don't want to make users enter a directory name in order to gain access to the site.......

Regards!
 
Last edited:
Stop Press!

Stop Press! :-)

I found it.

In an included file( httpd-alias.conf ) in the apache httpd.conf I found a /user alias :
Alias /user /var/.....

Well, now I understand.

Even learned something whilst finding a solution.

Thanks for the help!

Regards,
Dick Janssen
 
Last edited:
Back
Top