Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Multisite With Apache


1 reply to this topic

#1 martvefun

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 59 posts

Posted 06 March 2010 - 11:27 AM

Hello,

First of all sorry if it isn't the best place to post about server issues but it's best I've found.

I used to have a single django site on my apache server (on archlinux) but now I want to give a try to drupal and then installed it on my local machine.

I search a bit about having more than a website on apache, and I understand I should do something like that in my /etc/http/conf/http.conf :

...
<VirtualHost *:80>
	ServerName djangoWebsite.com
	WSGIDaemonProcess mart.localhost user=mart group=users processes=2 threads=25
	WSGIProcessGroup mart.localhost
	LogLevel debug

	Alias /dmedia /usr/share/django/martfiles/media/
	<Directory /usr/share/django/martfiles/>
		Order allow,deny
		Allow from all
	</Directory>
 
	WSGIScriptAlias / /usr/share/django/martfiles/django.wsgi

</VirtualHost>

<VirtualHost *:80>
	ServerName drupalWebsite.com
	DocumentRoot /srv/http/drupal
	<Directory /srv/http/drupal>
		Options FollowSymLinks MultiViews
		Order allow,deny
		allow from all
	</Directory>
</VirtualHost>
...

So I can access to my main website with djangowebsite.com and the drupal folder with drupalwebsite.com
During the configuration of drupal, I'm blocked at the Database configuration

Quote

Your web server does not appear to support any common database types. Check with your hosting provider to see if they offer any databases that Drupal supports.
I had already mysql, postgresql and sqlite installed but as it didn't seems to be enough, I installed also phpmyadmin

I tried to access to phpmyadmin with http://localhost/phpmyadmin but I arrived on the error page of my django website as this page doesn't exist

It seems that http://localhost/, http://127.0.0.1/ and http://djangowebsite.com/ are the same domain

How can I resolv it ? and how can I access to phpmyadmin (and finish the configuration of drupal)

Thank you

#2 martvefun

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 59 posts

Posted 07 March 2010 - 11:01 AM

ok I solved it

I forgot to do some configuration during the installation of phpmyadmin

RTFM martin :angel:




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users