logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: RDS CFMX Apache 2.2
Author
chuck1rar



Joined: 07 Feb 2006
Posts: 13

PostPosted: Mon 21 Aug '06 17:05    Post subject: RDS CFMX Apache 2.2 Reply with quote

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: 7298
Location: Germany, Next to Hamburg

PostPosted: Mon 21 Aug '06 18:49    Post subject: Reply with quote

Did you also changed DocumentRoot "/server2/www" ?
Back to top
chuck1rar



Joined: 07 Feb 2006
Posts: 13

PostPosted: Tue 22 Aug '06 11:02    Post subject: Reply with quote

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: 7298
Location: Germany, Next to Hamburg

PostPosted: Sat 26 Aug '06 10:01    Post subject: Reply with quote

Did you also set the DocumentRoot and <Directory in the vhosts?
Back to top
chuck1rar



Joined: 07 Feb 2006
Posts: 13

PostPosted: Sat 26 Aug '06 10:45    Post subject: Reply with quote

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: 679

PostPosted: Sat 26 Aug '06 11:21    Post subject: Reply with quote

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

PostPosted: Sat 26 Aug '06 18:53    Post subject: Reply with quote

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


Reply to topic   Topic: RDS CFMX Apache 2.2 View previous topic :: View next topic
Post new topic   Forum Index -> Apache