Author |
|
chuck1rar
Joined: 07 Feb 2006 Posts: 13
|
Posted: Mon 21 Aug '06 17:05 Post subject: RDS CFMX Apache 2.2 |
|
|
I am trying to connect to CFMX7 by RDS but it seems to connect ok but when I go to put a file then I get an error access denied...Thus I can not upload my CF pages to the htdocs root..
Below is the directory script for the web root, as I assume this must be the
problem but am a newbie in apache so please help.
Thanks
<Directory "H:/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory> |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 21 Aug '06 18:49 Post subject: |
|
|
Did you also changed DocumentRoot "/server2/www" ? |
|
Back to top |
|
chuck1rar
Joined: 07 Feb 2006 Posts: 13
|
Posted: Tue 22 Aug '06 11:02 Post subject: |
|
|
Yeap change document root to "H:/htdocs"..
My web pages are all displayed fine so am at a kinda of a loss as why the rds is failing to connect..now I am getting the error 403 no access for CFIDE/main/ide.cfm
The CFMX folders are in one of my sites root directory.
Also I can access CFMX administrator fine and I can see the VHosts sites all fine..
Any ideas? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 26 Aug '06 10:01 Post subject: |
|
|
Did you also set the DocumentRoot and <Directory in the vhosts? |
|
Back to top |
|
chuck1rar
Joined: 07 Feb 2006 Posts: 13
|
Posted: Sat 26 Aug '06 10:45 Post subject: |
|
|
Ok sorted it out in one way.
I was using the standard config of mod_security which was blocking the requests.
So now I have two other questions.
How to alter mod_security to allow RDS or WebDav access?
Secondly now I remove mod_security and I can connect to rds but I cant put files so assume my permissions are still screwed up..??
I have attached my config file so would appreciate if anyone can give me a clear idea as I have been thrown into this job without any real idea..
Admin note:
Removed the config file, see forum rules |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
Posted: Sat 26 Aug '06 11:21 Post subject: |
|
|
Look in the apache log and/or modsecurity log and see which rule is triggered. Remove that rule |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Sat 26 Aug '06 18:53 Post subject: |
|
|
If you are using the mod_security ruleset named windows-rules.conf, it most likely contains a rule (id #360001) which does not let ColdFusion RDS pass the information necessary for file handling.
If this is indeed the problem, you could add the following exclusion to let RDS work:
Code: | #ColdFusion RDS
<LocationMatch "/CFIDE/main/ide.cfm">
SecFilterRemove 360001
</LocationMatch>
|
These exclusions usually go in exclude.conf.
You will still want to check your mod_security.log file and see if any other rules are blocking RDS due to your site's specific directory names etc.
-tom- |
|
Back to top |
|