Installation

59 views
Skip to first unread message

Matthew Probasco

unread,
Feb 1, 2013, 9:21:00 AM2/1/13
to erpnext-dev...@googlegroups.com
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
    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>

Rushabh Mehta

unread,
Feb 2, 2013, 1:45:38 AM2/2/13
to erpnext-dev...@googlegroups.com
Matthew,

I think the AddHandler directive is missing/

- Rushabh



--
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...@googlegroups.com.
To post to this group, send email to erpnext-dev...@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
Reply all
Reply to author
Forward
0 new messages