ftp permissions
Moderators: Big-O Ryan, Big-O Mark, Matt, jester22c
ftp permissions
Hi,
On my apache dedicated server, i had a forum for somebody on my cPanel account(cawunited) as a subdomain(cawunited.com/whatever). And, i made them a new domain hosting account via the WebHostManager. Then, i used ssh to copy the folder from cawunited.com to their domain. Now, whenever they go to change permissions or upload files to anywhere inside that folder, it doesnt work.. It either says Access Denied, or Bad File Descriptor. Does anyone know how i can fix this?
Thanks,
Boss
On my apache dedicated server, i had a forum for somebody on my cPanel account(cawunited) as a subdomain(cawunited.com/whatever). And, i made them a new domain hosting account via the WebHostManager. Then, i used ssh to copy the folder from cawunited.com to their domain. Now, whenever they go to change permissions or upload files to anywhere inside that folder, it doesnt work.. It either says Access Denied, or Bad File Descriptor. Does anyone know how i can fix this?
Thanks,
Boss
~
Why put off something until tomorrow,
When you can do it the day after?
~
http://e.1asphost.com/boss1315/?sn=bigosig
Make Money with paypal!
http://www.dollars-for-you.com/plan1/index.php?ref=8432
![:P](./images/smilies/icon_razz.gif)
When you can do it the day after?
![:P](./images/smilies/icon_razz.gif)
http://e.1asphost.com/boss1315/?sn=bigosig
Make Money with paypal!
http://www.dollars-for-you.com/plan1/index.php?ref=8432
-
- Moderator
- Posts: 815
- Joined: Sun Sep 22, 2002 3:33 pm
- Contact:
Well for one thing. a subdomain is 'name.domain.com' -- not 'name.com/name' -- could be the problem.
But then again, if it's access denied. It's probably just the folder/ file permissions on that specific directory.
Also, make sure you add the correct settings to the Virtual Directory section in your httpd.conf file.
And again, also.. make sure you also add a Directory section as well, to add permissions to access that area as well.
But then again, if it's access denied. It's probably just the folder/ file permissions on that specific directory.
Also, make sure you add the correct settings to the Virtual Directory section in your httpd.conf file.
And again, also.. make sure you also add a Directory section as well, to add permissions to access that area as well.
Code: Select all
<Directory /var/www/html/subdomain>
AllowOverride All
Options ExecCGI
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
-
- Moderator
- Posts: 815
- Joined: Sun Sep 22, 2002 3:33 pm
- Contact:
I figured I'd post in this topic since it's semi-related to my problem. I have a folder on my server where I put pictures I like. How do I allow access to this folder directly, rather than making an index page which I would have to update every time I added a picture?
Axilla wrote:Since apparently no one has told you what a huge douche bag you are, I'll just tell you now. You are a huge douche bag. Huge.
-
- Moderator
- Posts: 815
- Joined: Sun Sep 22, 2002 3:33 pm
- Contact:
Well.. you didn't mention what OS, or what Server Software you have. I assume Windows and IIS.. but either Windows or Linux (with Apache).. it's all relatively the same.
For Linux and Apache... in your .htaccess file, or in the httpd.conf file ... you need to add "Options Indexes".
So it'll look like this.
And for Windows.. with IIS find an option to turn "Indexing" on. If it's Windows with Apache... you'll need to use change your httpd.conf file to add the option from the code above.
For Linux and Apache... in your .htaccess file, or in the httpd.conf file ... you need to add "Options Indexes".
So it'll look like this.
Code: Select all
<Directory /path/to/files>
.........
.........
Options Indexes
</Directory>
And for Windows.. with IIS find an option to turn "Indexing" on. If it's Windows with Apache... you'll need to use change your httpd.conf file to add the option from the code above.
Who is online
Users browsing this forum: No registered users and 1 guest