Page 1 of 1

portal as default page not working checked .htaccess

Posted: 30. July 2009 16:18
by sailsfast
Your Portal Version: 1.0.3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://www.sharingcycle.com

MySQL Version: Postgres not MySQL

What have you done before the problem was there?
Installed the portal, configured the portal.

Ubuntu 9.4 server
Postgres

Generally seems to work fine after I fixed some SQL bugs that turn up when using Postgres


What have you already tryed to solve the problem?
Verified that my .htaccess file is edited correctly as suggested elsewhere.

Description and Message
This doesn't smell like a SQL bug. The .htaccess file seems ok. I am having the same problem on both my test and production servers.

Any suggestions... Seems like it should be something dead simple.

See below:
.htaccess
and /sites-available/default

Code: Select all

<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

DirectoryIndex portal.php index.php index.html index.htm

Code: Select all

user@ubuntu-web:/etc/$ cat ./apache2/sites-available/default
<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/phpBB3
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>
[/i]

Re: portal as default page not working checked .htaccess

Posted: 28. August 2009 04:28
by Marshes
Its not a SQL bug.

I had to add portal.php to my httpd.conf file and restart apache for it to work.
Perhaps you may need to do the same.