After installation Permission error

Done the installation as specified here How to Install ERPNext · webnotes/erpnext Wiki · GitHub

and everthing is fine… credit goes to Sudev KK for help for the installation…

But now stuck with this permission error… when i enter  http://localhost:8080 in browser this is the error i get

“Forbidden

You dont have permission to access / on this server.
Apache/2.2.22 (Ubuntu) Server at localhost port 8000”

I have done ths installation in "/home/gans022/erpnext/ folder

My apache/httpd user and group … its in root and www-data

in procedure no 8. go to erpnext folder and run chown -R apache:apache * or chown -R _www:_www *. This will make the erpnext folder accessible to apache webserver.
i have done this with chown -R www-data:www-data * and i even tried  chown -R root:root * but nothing worked

This is what i have written in erpnext.conf file

Listen 8000
<VirtualHost *:8000>
ServerName *
DocumentRoot
/home/gans022/erpnext/
AddHandler cgi-script .cgi .xml
Options -Indexes +FollowSymLinks +ExecCGI
RewriteEngine on
RewriteRule .py - [F]
## uncomment below lines if required
#Order allow,deny
#Allow from all
DirectoryIndex index.html index.cgi
</VirtualHost>
 
i have tried “chmod 777 /home/gans022/erpnext/” still haveing bad luck… 


Plz help me with  what kind of PERMISSION i have missed out in this… for apache server…



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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/XTO4wQ-SL64J.

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.


hello apex


you configured erpnext at *:8000 port and you sending request to port :8080
try localhost:8000 and don’t forget to reload apache after changing configuration

On Monday, May 21, 2012 4:05:43 PM UTC+5:30, Apex Thread wrote:
Done the installation as specified here https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext

and everthing is fine… credit goes to Sudev KK for help for the installation…

But now stuck with this permission error… when i enter  http://localhost:8080 in browser this is the error i get

“Forbidden

You dont have permission to access / on this server.
Apache/2.2.22 (Ubuntu) Server at localhost port 8000”

I have done ths installation in "/home/gans022/erpnext/ folder

My apache/httpd user and group … its in root and www-data

in procedure no 8. go to erpnext folder and run chown -R apache:apache * or chown -R _www:_www *. This will make the erpnext folder accessible to apache webserver.
i have done this with chown -R www-data:www-data * and i even tried  chown -R root:root * but nothing worked

This is what i have written in erpnext.conf file

Listen 8000
<VirtualHost *:8000>
ServerName *
DocumentRoot
/home/gans022/erpnext/
AddHandler cgi-script .cgi .xml
Options -Indexes +FollowSymLinks +ExecCGI
RewriteEngine on
RewriteRule .py - [F]
## uncomment below lines if required
order allow,deny
#Allow from all
DirectoryIndex index.html index.cgi
</VirtualHost>
 
i have tried “chmod 777 /home/gans022/erpnext/” still haveing bad luck… 


Plz help me with  what kind of PERMISSION i have missed out in this… for apache server…



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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/_BiKLiZgGgEJ.

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.


hello Apex

Change DocumentRoot /home/gans022/erpnext/public
and change permission index.cgi to 755

-Mitesh
On Monday, May 21, 2012 4:05:43 PM UTC+5:30, Apex Thread wrote:
Done the installation as specified here https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext

and everthing is fine.. credit goes to Sudev KK for help for the installation..

But now stuck with this permission error.. when i enter  http://localhost:8080 in browser this is the error i get

"Forbidden

You dont have permission to access / on this server.
Apache/2.2.22 (Ubuntu) Server at localhost port 8000"

I have done ths installation in "/home/gans022/erpnext/ folder

My apache/httpd user and group ........... its in root and www-data

in procedure no 8. go to erpnext folder and run chown -R apache:apache * or chown -R _www:_www *. This will make the erpnext folder accessible to apache webserver.
i have done this with chown -R www-data:www-data * and i even tried  chown -R root:root * but nothing worked

This is what i have written in erpnext.conf file

Listen 8000
<VirtualHost *:8000>
    ServerName *
    DocumentRoot /home/gans022/erpnext/
    AddHandler cgi-script .cgi .xml
    Options -Indexes +FollowSymLinks +ExecCGI
    RewriteEngine on
    RewriteRule \.py - [F]
    ## uncomment below lines if required
    #Order allow,deny
    #Allow from all
    DirectoryIndex index.html index.cgi
</VirtualHost>
 
i have tried "chmod 777 /home/gans022/erpnext/" still haveing bad luck.. 


Plz help me with  what kind of PERMISSION i have missed out in this.. for apache server..



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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/c40HVWZ0coUJ.

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

hey thanks mitesh…

first sorry i specified wrong address i have always send request to port 8000

i tried with changing permission index.cgi to 755 still hard luck…

still its not working …




On Mon, May 21, 2012 at 4:25 PM, MiteshC <mi…@gmail.com> wrote:


hello Apex

Change DocumentRoot /home/gans022/erpnext/public
and change permission index.cgi to 755

-Mitesh

On Monday, May 21, 2012 4:05:43 PM UTC+5:30, Apex Thread wrote:
Done the installation as specified here https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext

and everthing is fine.. credit goes to Sudev KK for help for the installation..

But now stuck with this permission error.. when i enter http://localhost:8080 in browser this is the error i get

"Forbidden

You dont have permission to access / on this server.
Apache/2.2.22 (Ubuntu) Server at localhost port 8000"

I have done ths installation in "/home/gans022/erpnext/ folder

My apache/httpd user and group ........... its in root and www-data

in procedure no 8. go to erpnext folder and run chown -R apache:apache * or chown -R _www:_www *. This will make the erpnext folder accessible to apache webserver.
i have done this with chown -R www-data:www-data * and i even tried chown -R root:root * but nothing worked

This is what i have written in erpnext.conf file

Listen 8000
<VirtualHost *:8000>
    ServerName *
    DocumentRoot /home/gans022/erpnext/
    AddHandler cgi-script .cgi .xml
    Options -Indexes +FollowSymLinks +ExecCGI
    RewriteEngine on
    RewriteRule \.py - [F]
    ## uncomment below lines if required
    #Order allow,deny
    #Allow from all
    DirectoryIndex index.html index.cgi
</VirtualHost>

i have tried "chmod 777 /home/gans022/erpnext/" still haveing bad luck..


Plz help me with what kind of PERMISSION i have missed out in this.. for apache server..



You received this message because you are subscribed to the Google Groups "ERPNext Technical Forum" group.


To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/c40HVWZ0coUJ.



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

To unsubscribe from this group, send email to wnframework+un…@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.




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

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Forbidden is a straight and simple file access issue. Maybe you are pointing to the wrong folder (if you have multiple copies of erpnext). Maybe the user you have set in your apache.conf file is not www-data.


-----------------------------------------------------
ERPNext - Business Operating System

W: https://erpnext.com
T: @rushabh_mehta

On 22-May-2012, at 10:20 AM, Apex Thread wrote:

hey thanks mitesh..

first sorry i specified wrong address i have always send request to port 8000

i tried with changing permission index.cgi to 755 still hard luck..

still its not working ..



On Mon, May 21, 2012 at 4:25 PM, MiteshC <mi...@gmail.com> wrote:

hello Apex

Change DocumentRoot /home/gans022/erpnext/public
and change permission index.cgi to 755

-Mitesh

On Monday, May 21, 2012 4:05:43 PM UTC+5:30, Apex Thread wrote:
Done the installation as specified here https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext

and everthing is fine.. credit goes to Sudev KK for help for the installation..

But now stuck with this permission error.. when i enter  http://localhost:8080 in browser this is the error i get

"Forbidden

You dont have permission to access / on this server.
Apache/2.2.22 (Ubuntu) Server at localhost port 8000"

I have done ths installation in "/home/gans022/erpnext/ folder

My apache/httpd user and group ........... its in root and www-data

in procedure no 8. go to erpnext folder and run chown -R apache:apache * or chown -R _www:_www *. This will make the erpnext folder accessible to apache webserver.
i have done this with chown -R www-data:www-data * and i even tried  chown -R root:root * but nothing worked

This is what i have written in erpnext.conf file

Listen 8000
<VirtualHost *:8000>
    ServerName *
    DocumentRoot /home/gans022/erpnext/
    AddHandler cgi-script .cgi .xml
    Options -Indexes +FollowSymLinks +ExecCGI
    RewriteEngine on
    RewriteRule \.py - [F]
    ## uncomment below lines if required
    #Order allow,deny
    #Allow from all
    DirectoryIndex index.html index.cgi
</VirtualHost>
 
i have tried "chmod 777 /home/gans022/erpnext/" still haveing bad luck.. 


Plz help me with  what kind of PERMISSION i have missed out in this.. for apache server..




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


To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/c40HVWZ0coUJ.



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

To unsubscribe from this group, send email to wnframework+un…@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.





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

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

To unsubscribe from this group, send email to wnframework+un…@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.




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

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.