Jump to content

Valaris

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Valaris

  1. Thank you. I am not sure why, but your default worked. I'll do a compare later and try to figure out what the problem was.

     

    100% working config on the same configuration of server.

    File /etc/apache2/sites-available/default:

    
    
    
    
    <VirtualHost *:80>
    ServerAdmin webmaster@localhost
    
    DocumentRoot /var/www
    <Directory /var/www/>
    Options +FollowSymLinks
    AllowOverride All
    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 ${APACHE_LOG_DIR}/error.log
    
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    
    CustomLog ${APACHE_LOG_DIR}/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>
  2. I'm just using the default config in the sites-available directory modified for AllowOverride set to All.

    <VirtualHost *:80>
            ServerAdmin webmaster@localhost
    
            DocumentRoot /var/www
            <Directory />
                    Options FollowSymLinks
                    AllowOverride All
            </Directory>
            <Directory /var/www/>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Order allow,deny
                    allow from all
            </Directory>
    
            ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
            <Directory "/usr/lib/cgi-bin">
                    AllowOverride All
                    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                    Order allow,deny
                    Allow from all
            </Directory>
    
            ErrorLog ${APACHE_LOG_DIR}/error.log
    
            # Possible values include: debug, info, notice, warn, error, crit,
            # alert, emerg.
            LogLevel warn
    
            CustomLog ${APACHE_LOG_DIR}/access.log combined
    
        Alias /doc/ "/usr/share/doc/"
        <Directory "/usr/share/doc/">
            Options Indexes MultiViews FollowSymLinks
            AllowOverride All
            Order deny,allow
            Deny from all
            Allow from 127.0.0.0/255.0.0.0 ::1/128
        </Directory>
    
    </VirtualHost>
    
  3. I've been struggling with this for a few hours and not sure what else to do besides removing the .htaccess file. I'm trying to setup Blesta on a 64-bit Ubuntu 12.04.1 Server VM with Apache/2.2.22 and PHP/5.3.10-1 for development purposes. I've even gone as far as wiping the VM and starting from scratch. I have all of the required packages and mods installed per the wiki. I tried with both the the required and recommended list. I am using a default virtualhost configuration files with all of the AllowOverride's set to All and have verifed that mod_rewrite is enabled with phpinfo(); I've created my own .htaccess file to verify that this mod_rewrite is indeed working on it's own and I can see that Blesta's .htaccess is masking the .php files properly. I've attached a screenshot showing my address bar and the error page. I've attempted this using local browsers, browsers on my LAN and browsers over WAN. Any advice would be appreciated. Thank you.

    post-4818-0-79567200-1384116110_thumb.jp

×
×
  • Create New...