Installation

Hello,


I have followed all the install directions, and when I navigate to the installation via browser, the script is just output like text? I am not sure what is going on? 


Here is my apache config file (ip removed) (email removed)

<VirtualHost xxx.xxx.xxx.xxx:80>
    ServerName erp.nerotechsolutions.com
    ServerAlias www.erp.nerotechsolutions.com
    DocumentRoot /home/mprobasc/public_html/erp/public
    ServerAdmin XXXXXXXXXXXXXXXXX
    UseCanonicalName Off
    CustomLog /usr/local/apache/domlogs/erp.nerotechsolutions.com combined
    CustomLog /usr/local/apache/domlogs/erp.nerotechsolutions.com-bytes_log "%{%s}t $
    ## User mprobasc # Needed for Cpanel::ApacheConf
    <IfModule mod_suphp.c>
        suPHP_UserGroup mprobasc mprobasc
    </IfModule>
    <IfModule !mod_disable_suexec.c>
        <IfModule !mod_ruid2.c>
            SuexecUserGroup mprobasc mprobasc
        </IfModule>
    </IfModule>
    <IfModule mod_ruid2.c>
        RUidGid mprobasc mprobasc
    </IfModule>
    <Directory /home/mprobasc/public_html/erp/public/>
                        # directory specific options
                        Options -Indexes +FollowSymLinks +ExecCGI

                        # directory’s index file
                        DirectoryIndex web.py

                        # rewrite rule
                        RewriteEngine on

                        # condition 1:
                        # ignore login-page.html, app.html, blank.html, unsupported.html
                        RewriteCond %{REQUEST_URI} ^((?!app.html|blank.html|unsupported.html).)*$

                        # condition 2: if there are no slashes
                        # and file is .html or does not containt a .
                        RewriteCond %{REQUEST_URI} ^(?!.+/)((.+.html)|([^.]+))$

                        # rewrite if both of the above conditions are true
                        RewriteRule ^(.+)$ web.py?page=$1 [NC,L]

                        AllowOverride all
                        Order Allow,Deny
                        Allow from all
                </Directory>
</VirtualHost>



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/wEjlRSrVyvUJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Matthew,

I think the AddHandler directive is missing/

- Rushabh


On Fri, Feb 1, 2013 at 7:51 PM, Matthew Probasco <ma...@gmail.com> wrote:
Hello,

I have followed all the install directions, and when I navigate to the installation via browser, the script is just output like text? I am not sure what is going on?


Here is my apache config file (ip removed) (email removed)

<VirtualHost xxx.xxx.xxx.xxx:80>
DocumentRoot /home/mprobasc/public_html/erp/public
ServerAdmin XXXXXXXXXXXXXXXXX
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/erp.nerotechsolutions.com combined
CustomLog /usr/local/apache/domlogs/erp.nerotechsolutions.com-bytes_log "%{%s}t $
## User mprobasc # Needed for Cpanel::ApacheConf
<IfModule mod_suphp.c>
suPHP_UserGroup mprobasc mprobasc
</IfModule>
<IfModule !mod_disable_suexec.c>
<IfModule !mod_ruid2.c>
SuexecUserGroup mprobasc mprobasc
</IfModule>
</IfModule>
<IfModule mod_ruid2.c>
RUidGid mprobasc mprobasc
</IfModule>
<Directory /home/mprobasc/public_html/erp/public/>
# directory specific options
Options -Indexes +FollowSymLinks +ExecCGI

# directory's index file
DirectoryIndex web.py

# rewrite rule
RewriteEngine on

# condition 1:
# ignore login-page.html, app.html, blank.html, unsupported.html
RewriteCond %{REQUEST_URI} ^((?!app\.html|blank\.html|unsupported\.html).)*$

# condition 2: if there are no slashes
# and file is .html or does not containt a .
RewriteCond %{REQUEST_URI} ^(?!.+/)((.+\.html)|([^.]+))$

# rewrite if both of the above conditions are true
RewriteRule ^(.+)$ web.py?page=$1 [NC,L]

AllowOverride all
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/wEjlRSrVyvUJ.

For more options, visit https://groups.google.com/groups/opt_out.












Twitter: @rushabh_mehta



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.