Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th November 2005, 09:51
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Question anyone using wordpress or even wordpressmu ?

I have severall big question to which ido not find any answer on their forums:

first of all, I am trying to setup wordpressmu, which will create blogs as subdomains, so they say I need a wildcard domain,

one user states this:

Quote:
Here's what my vhost.conf looks like:

ServerAlias *.mydomain.com

<Directory /$HTTPD_VHOSTS_D/mydomain.com/httpdocs>
AllowOverride FileInfo
</Directory>
How would I achieve this in my ispcfg panel? I tried setting a * to myIP DNS record, but that does not help so far...

another requirement is: Apache FollowSymlinks must be switched on. This will disappear in later releases....

any hints for me? also Apache mod_rewrite is needed

another user states:
Quote:
I just told my host I wanted wildcard domains enabled, and that's what they did.
and here I am, admin and all, not able to setup one myself

any hint is welcome...
Reply With Quote
  #2  
Old 24th November 2005, 10:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Quote:
Originally Posted by Tenaka
another requirement is: Apache FollowSymlinks must be switched on. This will disappear in later releases....
You can use the Apache Directives field in ISPConfig for it.
Quote:
Originally Posted by Tenaka
also Apache mod_rewrite is needed
That depends on your Apache configuration, not on ISPConfig. In most distributions mod_rewrite is already enabled.
__________________
Falko
--
Follow me on:
Reply With Quote
  #3  
Old 24th November 2005, 11:42
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default

Quote:
You can use the Apache Directives field in ISPConfig for it.
I already tried that, what will happen to the lines I add there? where will ispcfg insert them? just curious what happens behind the curtains...
Reply With Quote
  #4  
Old 24th November 2005, 11:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
Default

ISPConfig adds the lines in the vHost section of the apache configuration of this site. But first ISPConfig tests if they are valid, if not the will be commented out.
Reply With Quote
  #5  
Old 23rd August 2006, 15:57
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default

what if I want to add 2 directives? one per line or how do I add them in here?

talking about this:

Quote:
Options FollowSymLinks
AllowOverride All
leads to this:
Quote:
# Options FollowSymLinks # NOT SUPPORTED!
# AllowOverride All # NOT SUPPORTED!
so where is the error? why are both not supported all of a sudden? if I only use Options FollowSymLinks it gives me no error and seems to work...
Reply With Quote
  #6  
Old 23rd August 2006, 19:43
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default

as I did not get it working I have been playing around. what I isnerted into apache directives is this:
Quote:
Options FollowSymLinks
<Directory /var/www/web5>
AllowOverride All
</Directory>
and the output generated in the Vhostsfile is this:

Quote:
# Vhost: www.zice.ro:80
######################################
#
#
<VirtualHost 85.214.51.208:80>
Options FollowSymLinks
<Directory /var/www/web5>
AllowOverride All
</Directory>
SuexecUserGroup web5_postmaster web5
ServerName www.zice.ro:80
ServerAdmin webmaster@zice.ro
DocumentRoot /var/www/web5/web
ServerAlias zice.ro *.zice.ro
is this valid? can there be a directory inside a vhost ? is that ok? I was not sure how to do it otherwise...
Reply With Quote
  #7  
Old 24th August 2006, 18:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Quote:
Originally Posted by Tenaka
is this valid? can there be a directory inside a vhost ? is that ok? I was not sure how to do it otherwise...
Yes, this is valid.
__________________
Falko
--
Follow me on:
Reply With Quote
  #8  
Old 25th August 2006, 13:33
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default

thx.

It seems I partially solved my problem: I opened webmin, went to module options of bind (although I never used this) and changed allow wildcards from NO to YES.

now I can ping ovizii.zice.ro a blog which I had created for testpurposes... still DNS does not resolve it but I guess I am on the right way :-)
Reply With Quote
  #9  
Old 26th August 2006, 15:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Quote:
Originally Posted by Tenaka
still DNS does not resolve it but I guess I am on the right way :-)
It's working for me:
Code:
mh1:~# dig ovizii.zice.ro

; <<>> DiG 9.2.1 <<>> ovizii.zice.ro
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10278
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ovizii.zice.ro.                        IN      A

;; ANSWER SECTION:
ovizii.zice.ro.         86400   IN      A       85.214.51.208

;; Query time: 40 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; WHEN: Sat Aug 26 14:20:53 2006
;; MSG SIZE  rcvd: 48
__________________
Falko
--
Follow me on:
Reply With Quote
  #10  
Old 6th March 2007, 19:04
jonwatson jonwatson is offline
Senior Member
 
Join Date: Feb 2007
Posts: 169
Thanks: 15
Thanked 1 Time in 1 Post
Default

Can the orignal poster (or someone else) elaborate on how to enable wildcard DNS within ISPConfig?

I need it for WordpressMU as well.

Thanks!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:08.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th