[support] .htaccess question

Prothero William waprothero at gmail.com
Wed Feb 12 00:41:13 UTC 2014


I have a php script that I wrote that will use Drupal to validate the user login of a separate app that isn't part of Drupal. I have a php script that I want to put within the Drupal site. I can't seem to make .htaccess override the Drupal settings so that I can execute the php. Currently, I have, in the folder that holds the php:

# disable directory browsing
Options All -Indexes
AddHandler cgi-script .php
AddType application/x-httpd-php .php
AddHandler application/x-httpd-php .php

What should I do to enable my php script to execute? I've set the permissions to execute and I do get a listing of the php script file contents, which is not what I want. How can I make it execute?

Bill

William Prothero
http://es.earthednet.org





More information about the support mailing list