THE BORE
General => The Superdeep Borehole => Topic started by: GilloD on April 13, 2009, 04:27:11 PM
-
So. I'm working on an ERP integration. I have the ERP publishing a .csv to a server. Problem is that it keeps me a FORBIDDEN error if I try to visit the directory, and it also won't allow the ERP to publish the .csv to the directory. I have permissions set to 777, but I'm sure I'm just being an idiot and missing something obvious. Thoughts?
-
Is the problem coming from the fact that it's a sub-directory of a Read-Only parent directory?
-
guhhhhhh. Is this a .htaccess thing?
-
You're dangerous, Maverick! Your ego's writing checks that your body can't cash.
-
omg thx.
Seriously, I know this question has a simple answer.
-
It does, but wouldnt it be funner to watch you squirm? How's work treating you? Get kicked around lately? Tell us a story
-
is it outputting something to that directory?
Si. Or it would be, but it can't publish to the folder.
-
It does, but wouldnt it be funner to watch you squirm? How's work treating you? Get kicked around lately? Tell us a story
I got a 30 pound box of raisins for free
-
Raisins + Carrots + PB = win :drool
-
Okay, does anyone have a real answer? I wasted about 3 hours on this
-
Any idea what the web server software is? For instance, Apache uses .htaccess files, but IIS doesn't.
Clearly the problem with not being able to browse the directory is due to a setting. These things are set in .htaccess files if you're using Apache. Do you have access to the directory either directly or via FTP? If you do, you can check the file to see if it disallows directory browsing (It will say Options -Indexes somewhere in the file).
As for being unable to upload to the directory, You need to do the following:
If the directory you're trying to upload to is ERP\SuperSecret\GilloD\, and you have 777 permissions on GilloD, check the status on SuperSecret to verify that you have proper permissions there. If you don't have permissions to upload to the parent directory, you'll never be able to upload to he directory you're trying to get to.
-
Any idea what the web server software is? For instance, Apache uses .htaccess files, but IIS doesn't.
Clearly the problem with not being able to browse the directory is due to a setting. These things are set in .htaccess files if you're using Apache. Do you have access to the directory either directly or via FTP? If you do, you can check the file to see if it disallows directory browsing (It will say Options -Indexes somewhere in the file).
As for being unable to upload to the directory, You need to do the following:
If the directory you're trying to upload to is ERP\SuperSecret\GilloD\, and you have 777 permissions on GilloD, check the status on SuperSecret to verify that you have proper permissions there. If you don't have permissions to upload to the parent directory, you'll never be able to upload to he directory you're trying to get to.
I just checked my logs and the error was "
[Mon Apr 13 11:42:55 2009] [error] [client 70.107.244.165] Directory index forbidden by Options directive: /var/www/vhosts/asilenttreatment.org/httpdocs/sageexport/", so ot's probs the .htaccess. I'll fool with this tommorrow, free dinner on the company dime tonight!
-
Qustion, though.
If everything is in "/httpdocs", I'll have to 777 httpdocs, right? Isn't that a HORRIBLE IDEA? Directory structure is "/httpdocs/erp/text.txt"
-
Qustion, though.
If everything is in "/httpdocs", I'll have to 777 httpdocs, right? Isn't that a HORRIBLE IDEA? Directory structure is "/httpdocs/erp/text.txt"
777 is typically a horrid idea. Isn't 755 what people typically set? That way the owner can do everything, and everyone else can just read and execute.
-
I guess the problem is that it has to publish to a folder sans credentials, there's no place for a pass/login. I need more details on this, but all the relevant documentation is in French. Ugh.
-
you can have a read/write folder as a sub of a read-only or private folder. you need execute privileges on the parent and child folder(s).