Current time: 09-20-2018, 11:27 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alternative URL to reach your website don't work
Author Message
kmchen Offline


Posts: 3
Joined: Sep 2011
Reputation: 0
Post: #1
Alternative URL to reach your website don't work
Hi,
I installed recently ispcp on a dedibox. Most work fine but the Alternative URL to reach websites. When I try for example:
http://vu2002.sd-29145.dedibox.fr/

I get 403 error.

Here is the ispcp.conf generated:
Code:
# httpd [test.com] dmn entry BEGIN.
<VirtualHost 88.190.20.176:80>

    <IfModule suexec_module>
           SuexecUserGroup vu2002 vu2002
    </IfModule>

    ServerAdmin     webmaster@test.com
    DocumentRoot    /var/www/virtual/test.com/htdocs

    ServerName      test.com
    ServerAlias     www.test.com test.com vu2002.admin.sd-29145.dedibox.fr

    Alias /errors   /var/www/virtual/test.com/errors/

    RedirectMatch permanent ^/ftp[\/]?$         http://admin.sd-29145.dedibox.fr/ftp/
    RedirectMatch permanent ^/pma[\/]?$         http://admin.sd-29145.dedibox.fr/pma/
    RedirectMatch permanent ^/webmail[\/]?$     http://admin.sd-29145.dedibox.fr/webmail/
    RedirectMatch permanent ^/ispcp[\/]?$       http://admin.sd-29145.dedibox.fr/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser test.com
    </IfModule>

    # httpd awstats support BEGIN.

   # httpd awstats support END.

    # httpd dmn entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/test.com/cgi-bin/
    <Directory /var/www/virtual/test.com/cgi-bin>
        AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd dmn entry cgi support END.

    <Directory /var/www/virtual/test.com/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/test.com/:/var/www/virtual/test.com/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/test.com/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/test.com/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2002 -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/test.com/
        <Directory "/var/www/fcgi/test.com">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
        <Directory /var/www/virtual/test.com/htdocs>
            FCGIWrapper /var/www/fcgi/test.com/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/test.com">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd dmn entry PHP2 support END.

    Include /etc/apache2/ispcp/test.com.conf

</VirtualHost>
# httpd [test.com] dmn entry END.

# httpd [test.com] dmn group entry END.

Here serverAlias says vu2002.admin.sd-29145.dedibox.fr but browse to that name leads to 403 too.

Any help apreciated
(This post was last modified: 01-21-2012 09:22 PM by kmchen.)
01-21-2012 09:21 PM
Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #2
RE: Alternative URL to reach your website don't work
it seems that there is a dns-error.

looking up sd-29145.dedibox.fr is giving me the correct ip-adress,
but looking up anything behind sd-29145.dedibox.fr (sth like vu2002.admin.sd-29145.dedibox.fr) is giving nothing. So it looks like you don't have a name-server entry for *.sd-29145.dedibox.fr

please check this...
01-26-2012 07:08 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)