Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th February 2012, 18:53
99miles 99miles is offline
Junior Member
 
Join Date: Feb 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig not writing vhost changes to disk

ISPConfig just started to not update my site .vhost nginx files when I change the nginx directives or toggle active/inactive, etc. , even though ispconfig somehow remembers the changes. They just aren't showing up on disk. Any ideas?

Last edited by 99miles; 17th February 2012 at 19:29.
Reply With Quote
Sponsored Links
  #2  
Old 18th February 2012, 13:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Any errors in ISPConfig's Monitor module?

What's the output of
Code:
ls -la /etc/nginx/sites-available/
?

Which distribution do you use? Which tutorial (URL) did you follow?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th February 2012, 23:08
99miles 99miles is offline
Junior Member
 
Join Date: Feb 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric

---

No errors:

ISPConfig 3.0.4.2
State: info (0 unknown, 0 info, 1 warning, 0 critical, 0 error)

warning: One or more components needs an update

---

My install is in /opt/nginx/sites-available/ and I do see the vhost files in there. It all used to work but for some reason the files quit updating but as I mentioned the changes I make in ISPConfig continue to show up there, they just aren't reflected in those files.

Also, if I deactivate a site, the symlink still remains in the sites-enabled
Reply With Quote
  #4  
Old 19th February 2012, 23:53
anset anset is offline
Junior Member
 
Join Date: Jan 2012
Posts: 11
Thanks: 1
Thanked 3 Times in 2 Posts
Default

Sometimes when something is wrong, ISPconfig cannot generate a proper vhost file. In that case, the original file remains linked to the sites-enabled directory, but a second, newer vhost file with a .vhost.error (or something like that) extension is created in the sites-available directory.

You sure you do not have one in there?

Next step I guess would be to enable DEBUG logging for your server (under system) and see what it logs when you update the site.

wkr,

Anset

Last edited by anset; 19th February 2012 at 23:54. Reason: spelling
Reply With Quote
  #5  
Old 20th February 2012, 01:09
99miles 99miles is offline
Junior Member
 
Join Date: Feb 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ah, there is a .err file in there. Do I just delete it, or...? Thanks!

Last edited by 99miles; 20th February 2012 at 01:12.
Reply With Quote
  #6  
Old 20th February 2012, 01:13
anset anset is offline
Junior Member
 
Join Date: Jan 2012
Posts: 11
Thanks: 1
Thanked 3 Times in 2 Posts
Default

Nope. it will just be recreated.

There is something somewhere that breaks the generation of the vhost file.

Put the system in DEBUG and check the ispconfig log file when you update the website agian for clues.
Reply With Quote
  #7  
Old 20th February 2012, 01:47
99miles 99miles is offline
Junior Member
 
Join Date: Feb 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've discovered that it keeps re-writing the path to 'fastcgi_params'.
I started with an nginx installation to /etc, but it's gone now and I use the one in /opt. However ISPConfig doesn't seem to know about this one path having changed. I did change the nginx paths in System -> Server Config -> Web, and all the other paths are working fine with that new location, except for this one., and keeps complaining when I change it to /opt.

Though, if I change it manually on the system (not in ISPConfig), the config verification says the syntax is ok. Maybe that really ONLY checks the syntax?

So, then when I make a change in ISPConfig it creates a .err file changing just that one path. Note that /etc/nginx/fastcgi_params does not exist anymore so it should be using /opt/nginx/conf/fastcgi_params. I assume I need to tell ISPConfig elsewhere that this location has changed?

location ~ \.php$ {
include /etc/nginx/fastcgi_params; #this is the line it keeps re-writing, from:
include /opt/nginx/conf/fastcgi_params;
}

Last edited by 99miles; 20th February 2012 at 01:50.
Reply With Quote
  #8  
Old 20th February 2012, 03:58
99miles 99miles is offline
Junior Member
 
Join Date: Feb 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I edited nginx_apps.vhost.master and nginx_vhost.conf.master
Things seem okay so far, but maybe there's a better way to solve this?
Thanks for the help.
Reply With Quote
  #9  
Old 20th February 2012, 09:20
anset anset is offline
Junior Member
 
Join Date: Jan 2012
Posts: 11
Thanks: 1
Thanked 3 Times in 2 Posts
Default

Well, The only place in ISPConfig where web-service paths and settings are set is under system->server config->web.
Of course there is the "options" tab with every web site you define...

I've never played with ngnix so I can't really say if that is where you'll find something.

Now for Apache, I do make changes to the main config files to suit my needs. ISPConfig does not routinely overwrite those (only with an upgrade I think).

So your approach may be fine, but I'll defer to the more knowledgeable people here.
Reply With Quote
  #10  
Old 23rd June 2012, 14:22
baskin baskin is offline
Senior Member
 
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 8 Times in 8 Posts
 
Default

I have the same problem with apache on one vhost only.

I'm just trying to set php to disabled for this host, but it produces an .err vhost file instead of writing to the working copy.

I have also tried to manually copy the .err file and restart apache but it fails.

Working copy:

Code:
<Directory /var/www/my.domain.tld>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

<VirtualHost xxx.xxx.xxx.xxx:80>
      DocumentRoot /var/www/my.domain.tld/web
  
    ServerName my.domain.tld
    ServerAdmin webmaster@my.domain.tld

    ErrorLog /var/log/ispconfig/httpd/my.domain.tld/error.log


    <IfModule mod_ssl.c>
    </IfModule>

    <Directory /var/www/my.domain.tld/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    <Directory /var/www/clients/client1/web5/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>



    # Clear PHP settings of this website
    <FilesMatch "\.ph(p3?|tml)$">
        SetHandler None
    </FilesMatch>
    # php as fast-cgi enabled
	# For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
    <IfModule mod_fcgid.c>
        IdleTimeout 300
        ProcessLifeTime 3600
        # MaxProcessCount 1000
        DefaultMinClassProcessCount 0
        DefaultMaxClassProcessCount 100
        IPCConnectTimeout 3
        IPCCommTimeout 360
        BusyTimeout 300
    </IfModule>
    <Directory /var/www/my.domain.tld/web>
        AddHandler fcgid-script .php .php3 .php4 .php5
        FCGIWrapper /var/www/php-fcgi-scripts/web5/.php-fcgi-starter .php
        Options +ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    <Directory /var/www/clients/client1/web5/web>
        AddHandler fcgid-script .php .php3 .php4 .php5
        FCGIWrapper /var/www/php-fcgi-scripts/web5/.php-fcgi-starter .php
        Options +ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>


    # add support for apache mpm_itk
    <IfModule mpm_itk_module>
      AssignUserId web5 client1
    </IfModule>

    <IfModule mod_dav_fs.c>
	  # Do not execute PHP files in webdav directory
      <Directory /var/www/clients/client1/web5/webdav>
	    <FilesMatch "\.ph(p3?|tml)$">
          SetHandler None
        </FilesMatch>
      </Directory>
      DavLockDB /var/www/clients/client1/web5/tmp/DavLock
      # DO NOT REMOVE THE COMMENTS!
      # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
      # WEBDAV BEGIN
      # WEBDAV END
    </IfModule>

RewriteEngine on

ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]

RewriteRule ^/fastpath/(.*)$ /fastpath/$1 [PT,L]
RewriteRule ^/static/(.*)$ /static/$1 [PT,L]
RewriteRule ^/(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=0&_webmcp_module=index&_webmcp_view=index&$2 [PT,QSA]
RewriteRule ^/([^/\?]+)/(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=index&$3 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\.\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_action=$2&$4 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\.\?]+)\.([^/\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=$2&_webmcp_suffix=$3&$5 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\?]+)/([^/\.\?]+)\.([^/\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=2&_webmcp_module=$1&_webmcp_view=$2&_webmcp_id=$3&_webmcp_suffix=$4&$6 [PT,QSA]

Alias /static/ /var/www/my.domain.tld/liquid_feedback_frontend/static/

ScriptAlias /fastpath/getpic /var/www/my.domain.tld/liquid_feedback_frontend/fastpath/getpic
<Directory "/var/www/my.domain.tld/liquid_feedback_frontend/fastpath/">
	AllowOverride None
	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
</Directory>

ScriptAlias /cgi-bin /var/www/my.domain.tld/webmcp/cgi-bin
<Directory "/var/www/my.domain.tld/webmcp/cgi-bin/">
	AllowOverride None
	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
</Directory>

<Location />
	SetEnv LANG 'en_US.UTF-8'
	SetEnv WEBMCP_APP_BASEPATH '/var/www/my.domain.tld/liquid_feedback_frontend/'
	SetEnv WEBMCP_CONFIG_NAME 'testing'
</Location>

<Directory "/var/www/my.domain.tld/liquid_feedback_frontend/static/">
	AllowOverride None
	Options None
	Order allow,deny
	Allow from all
</Directory>


</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:443>
      DocumentRoot /var/www/my.domain.tld/web
  
    ServerName my.domain.tld
    ServerAdmin webmaster@my.domain.tld

    ErrorLog /var/log/ispconfig/httpd/my.domain.tld/error.log


    <IfModule mod_ssl.c>
	SSLEngine on
    SSLCertificateFile /var/www/clients/client1/web5/ssl/my.domain.tld.crt
    SSLCertificateKeyFile /var/www/clients/client1/web5/ssl/my.domain.tld.key
    </IfModule>

    <Directory /var/www/my.domain.tld/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    <Directory /var/www/clients/client1/web5/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>



    # Clear PHP settings of this website
    <FilesMatch "\.ph(p3?|tml)$">
        SetHandler None
    </FilesMatch>
    # php as fast-cgi enabled
	# For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
    <IfModule mod_fcgid.c>
        IdleTimeout 300
        ProcessLifeTime 3600
        # MaxProcessCount 1000
        DefaultMinClassProcessCount 0
        DefaultMaxClassProcessCount 100
        IPCConnectTimeout 3
        IPCCommTimeout 360
        BusyTimeout 300
    </IfModule>
    <Directory /var/www/my.domain.tld/web>
        AddHandler fcgid-script .php .php3 .php4 .php5
        FCGIWrapper /var/www/php-fcgi-scripts/web5/.php-fcgi-starter .php
        Options +ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    <Directory /var/www/clients/client1/web5/web>
        AddHandler fcgid-script .php .php3 .php4 .php5
        FCGIWrapper /var/www/php-fcgi-scripts/web5/.php-fcgi-starter .php
        Options +ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>


    # add support for apache mpm_itk
    <IfModule mpm_itk_module>
      AssignUserId web5 client1
    </IfModule>

    <IfModule mod_dav_fs.c>
	  # Do not execute PHP files in webdav directory
      <Directory /var/www/clients/client1/web5/webdav>
	    <FilesMatch "\.ph(p3?|tml)$">
          SetHandler None
        </FilesMatch>
      </Directory>
      DavLockDB /var/www/clients/client1/web5/tmp/DavLock
      # DO NOT REMOVE THE COMMENTS!
      # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
      # WEBDAV BEGIN
      # WEBDAV END
    </IfModule>

RewriteEngine on

ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]

RewriteRule ^/fastpath/(.*)$ /fastpath/$1 [PT,L]
RewriteRule ^/static/(.*)$ /static/$1 [PT,L]
RewriteRule ^/(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=0&_webmcp_module=index&_webmcp_view=index&$2 [PT,QSA]
RewriteRule ^/([^/\?]+)/(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=index&$3 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\.\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_action=$2&$4 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\.\?]+)\.([^/\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=$2&_webmcp_suffix=$3&$5 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\?]+)/([^/\.\?]+)\.([^/\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=2&_webmcp_module=$1&_webmcp_view=$2&_webmcp_id=$3&_webmcp_suffix=$4&$6 [PT,QSA]

Alias /static/ /var/www/my.domain.tld/liquid_feedback_frontend/static/

ScriptAlias /fastpath/getpic /var/www/my.domain.tld/liquid_feedback_frontend/fastpath/getpic
<Directory "/var/www/my.domain.tld/liquid_feedback_frontend/fastpath/">
	AllowOverride None
	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
</Directory>

ScriptAlias /cgi-bin /var/www/my.domain.tld/webmcp/cgi-bin
<Directory "/var/www/my.domain.tld/webmcp/cgi-bin/">
	AllowOverride None
	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
</Directory>

<Location />
	SetEnv LANG 'en_US.UTF-8'
	SetEnv WEBMCP_APP_BASEPATH '/var/www/my.domain.tld/liquid_feedback_frontend/'
	SetEnv WEBMCP_CONFIG_NAME 'testing'
</Location>

<Directory "/var/www/my.domain.tld/liquid_feedback_frontend/static/">
	AllowOverride None
	Options None
	Order allow,deny
	Allow from all
</Directory>


</VirtualHost>
Non working .err file

Code:
<Directory /var/www/my.domain.tld>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

<VirtualHost xxx.xxx.xxx.xxx:80>
      DocumentRoot /var/www/my.domain.tld/web
  
    ServerName my.domain.tld
    ServerAdmin webmaster@my.domain.tld

    ErrorLog /var/log/ispconfig/httpd/my.domain.tld/error.log


    <IfModule mod_ssl.c>
    </IfModule>

    <Directory /var/www/my.domain.tld/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
        <Files ~ '.php[s3-6]{0,1}$'>
            Order allow,deny
            Deny from all
            Allow from none
        </Files>
    </Directory>
    <Directory /var/www/clients/client1/web5/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
        <Files ~ '.php[s3-6]{0,1}$'>
            Order allow,deny
            Deny from all
            Allow from none
        </Files>
    </Directory>



    # Clear PHP settings of this website
    <FilesMatch "\.ph(p3?|tml)$">
        SetHandler None
    </FilesMatch>


    # add support for apache mpm_itk
    <IfModule mpm_itk_module>
      AssignUserId web5 client1
    </IfModule>

    <IfModule mod_dav_fs.c>
	  # Do not execute PHP files in webdav directory
      <Directory /var/www/clients/client1/web5/webdav>
	    <FilesMatch "\.ph(p3?|tml)$">
          SetHandler None
        </FilesMatch>
      </Directory>
      DavLockDB /var/www/clients/client1/web5/tmp/DavLock
      # DO NOT REMOVE THE COMMENTS!
      # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
      # WEBDAV BEGIN
      # WEBDAV END
    </IfModule>

RewriteEngine on

ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]

RewriteRule ^/fastpath/(.*)$ /fastpath/$1 [PT,L]
RewriteRule ^/static/(.*)$ /static/$1 [PT,L]
RewriteRule ^/(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=0&_webmcp_module=index&_webmcp_view=index&$2 [PT,QSA]
RewriteRule ^/([^/\?]+)/(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=index&$3 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\.\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_action=$2&$4 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\.\?]+)\.([^/\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=$2&_webmcp_suffix=$3&$5 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\?]+)/([^/\.\?]+)\.([^/\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=2&_webmcp_module=$1&_webmcp_view=$2&_webmcp_id=$3&_webmcp_suffix=$4&$6 [PT,QSA]

Alias /static/ /var/www/my.domain.tld/liquid_feedback_frontend/static/

ScriptAlias /fastpath/getpic /var/www/my.domain.tld/liquid_feedback_frontend/fastpath/getpic
<Directory "/var/www/my.domain.tld/liquid_feedback_frontend/fastpath/">
	AllowOverride None
	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
</Directory>

ScriptAlias /cgi-bin /var/www/my.domain.tld/webmcp/cgi-bin
<Directory "/var/www/my.domain.tld/webmcp/cgi-bin/">
	AllowOverride None
	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
</Directory>

<Location />
	SetEnv LANG 'en_US.UTF-8'
	SetEnv WEBMCP_APP_BASEPATH '/var/www/my.domain.tld/liquid_feedback_frontend/'
	SetEnv WEBMCP_CONFIG_NAME 'testing'
</Location>

<Directory "/var/www/my.domain.tld/liquid_feedback_frontend/static/">
	AllowOverride None
	Options None
	Order allow,deny
	Allow from all
</Directory>

<IfModule mod_ssl.c>
SSLEngine on
SSLCertificateChainFile /var/www/my.domain.tld/ssl/sub.class1.server.ca.pem
</IfModule>
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:443>
      DocumentRoot /var/www/my.domain.tld/web
  
    ServerName my.domain.tld
    ServerAdmin webmaster@my.domain.tld

    ErrorLog /var/log/ispconfig/httpd/my.domain.tld/error.log


    <IfModule mod_ssl.c>
	SSLEngine on
    SSLCertificateFile /var/www/clients/client1/web5/ssl/my.domain.tld.crt
    SSLCertificateKeyFile /var/www/clients/client1/web5/ssl/my.domain.tld.key
    </IfModule>

    <Directory /var/www/my.domain.tld/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
        <Files ~ '.php[s3-6]{0,1}$'>
            Order allow,deny
            Deny from all
            Allow from none
        </Files>
    </Directory>
    <Directory /var/www/clients/client1/web5/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
        <Files ~ '.php[s3-6]{0,1}$'>
            Order allow,deny
            Deny from all
            Allow from none
        </Files>
    </Directory>



    # Clear PHP settings of this website
    <FilesMatch "\.ph(p3?|tml)$">
        SetHandler None
    </FilesMatch>


    # add support for apache mpm_itk
    <IfModule mpm_itk_module>
      AssignUserId web5 client1
    </IfModule>

    <IfModule mod_dav_fs.c>
	  # Do not execute PHP files in webdav directory
      <Directory /var/www/clients/client1/web5/webdav>
	    <FilesMatch "\.ph(p3?|tml)$">
          SetHandler None
        </FilesMatch>
      </Directory>
      DavLockDB /var/www/clients/client1/web5/tmp/DavLock
      # DO NOT REMOVE THE COMMENTS!
      # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
      # WEBDAV BEGIN
      # WEBDAV END
    </IfModule>

RewriteEngine on

ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]

RewriteRule ^/fastpath/(.*)$ /fastpath/$1 [PT,L]
RewriteRule ^/static/(.*)$ /static/$1 [PT,L]
RewriteRule ^/(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=0&_webmcp_module=index&_webmcp_view=index&$2 [PT,QSA]
RewriteRule ^/([^/\?]+)/(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=index&$3 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\.\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_action=$2&$4 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\.\?]+)\.([^/\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=$2&_webmcp_suffix=$3&$5 [PT,QSA]
RewriteRule ^/([^/\?]+)/([^/\?]+)/([^/\.\?]+)\.([^/\?]+)(\?(.*))?$ /cgi-bin/webmcp-wrapper.lua?_webmcp_urldepth=2&_webmcp_module=$1&_webmcp_view=$2&_webmcp_id=$3&_webmcp_suffix=$4&$6 [PT,QSA]

Alias /static/ /var/www/my.domain.tld/liquid_feedback_frontend/static/

ScriptAlias /fastpath/getpic /var/www/my.domain.tld/liquid_feedback_frontend/fastpath/getpic
<Directory "/var/www/my.domain.tld/liquid_feedback_frontend/fastpath/">
	AllowOverride None
	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
</Directory>

ScriptAlias /cgi-bin /var/www/my.domain.tld/webmcp/cgi-bin
<Directory "/var/www/my.domain.tld/webmcp/cgi-bin/">
	AllowOverride None
	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
</Directory>

<Location />
	SetEnv LANG 'en_US.UTF-8'
	SetEnv WEBMCP_APP_BASEPATH '/var/www/my.domain.tld/liquid_feedback_frontend/'
	SetEnv WEBMCP_CONFIG_NAME 'testing'
</Location>

<Directory "/var/www/my.domain.tld/liquid_feedback_frontend/static/">
	AllowOverride None
	Options None
	Order allow,deny
	Allow from all
</Directory>

<IfModule mod_ssl.c>
SSLEngine on
SSLCertificateChainFile /var/www/my.domain.tld/ssl/sub.class1.server.ca.pem
</IfModule>
</VirtualHost>
It is a little complicated setup but it is working. All addittions to the vhost file have been made through ispconfig's web interface.

I have tried to make the same change (php disabled) to another vhost and it is working.

Thnaks in advance.

Last edited by baskin; 23rd June 2012 at 14:42.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP warnings after upgrade to ISP config 3.03 stevegjacobs Installation/Configuration 5 30th October 2010 15:31
Adding non-RAID backup disk to system with RAID 1... BorderAmigos Installation/Configuration 1 20th February 2010 21:50
vhost not working on ISPConfig 2.2.13 tannnk Installation/Configuration 2 22nd June 2007 15:31
would like a vhost for the squirrelmail pkg in ispconfig sullast General 3 22nd May 2007 19:23
After ISPConfig installed - Disk Partition sushestvo Installation/Configuration 4 12th October 2005 15:39


All times are GMT +2. The time now is 03:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.