open ispconfig3 with /panel

Discussion in 'Tips/Tricks/Mods' started by tjonger, Dec 26, 2010.

  1. tjonger

    tjonger New Member

  2. modules

    modules New Member

    i think you can edit /etc/apache2/sites-enabled/000-ispconfig.vhost
    Not sure if this will be overwritten on update.
     
  3. tjonger

    tjonger New Member

    oke, soo i have change the file but it dont work...somebody who know what i do wrong?

    Original:
    Code:
    Listen 8080
    NameVirtualHost *:8080
    
    <VirtualHost _default_:8080>
      ServerAdmin webmaster@localhost
      
      <IfModule mod_fcgid.c>
        DocumentRoot /var/www/ispconfig/
        SuexecUserGroup ispconfig ispconfig
        <Directory /var/www/ispconfig/>
          Options Indexes FollowSymLinks MultiViews +ExecCGI
          AllowOverride AuthConfig Indexes Limit Options FileInfo
          AddHandler fcgid-script .php
          FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
          Order allow,deny
          Allow from all
        </Directory>
      </IfModule>
    
    Change:
    Code:
    Listen 8080
    NameVirtualHost panel.domein.nl
    
    <VirtualHost panel.domein.nl>
      ServerAdmin [email protected]
      
      <IfModule mod_fcgid.c>
        DocumentRoot /var/www/ispconfig/
        SuexecUserGroup ispconfig ispconfig
        <Directory /var/www/ispconfig/>
          Options Indexes FollowSymLinks MultiViews +ExecCGI
          AllowOverride AuthConfig Indexes Limit Options FileInfo
          AddHandler fcgid-script .php
          FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
          Order allow,deny
          Allow from all
        </Directory>
      </IfModule>
    
     
  4. modules

    modules New Member

    not sure, maybe

    Code:
    Listen 8080
    NameVirtualHost  panel.domein.nl:8080
    <VirtualHost  panel.domein.nl:8080>
    ...
    
     
  5. tjonger

    tjonger New Member

    but i dont want that 8080 port behind the url... Just panel.domein.nl
    So how can i fix this?
     
  6. giftsnake

    giftsnake New Member

  7. vogelor

    vogelor ISPConfig Developer ISPConfig Developer

    this file will be overwritten on update.
    if you want to change "this" file. create a new one (for example /etc/apache2/sites-available/ispconfig-my.vhost) and do the changes there.
    next change the symlink /etc/apache2/sites-enabled/000-ispconfig and let it point to YOUR file instead of the old one. this will work, because we always update the file itself, but NOT the symlink (if there is one)

    Hope, this helps!
     
  8. tjonger

    tjonger New Member

    Thanks volgelor, but what do i have to change inside the file?:$
     

Share This Page