Jump to content

xcoaster1

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

xcoaster1's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Should say .. the URL should appear like as follows after the rewrite: http://www.domain.tld/dev/events/xx/x/x/x Although I would like it to appear as: http://www.domain.tld/dev/events.php/xx/x/x/x
  2. I have confirmed mod_rewrite is loaded and working .. as the first line is working properly as a test, but my events rewrite is not working .. any ideas? RewriteEngine on RewriteRule ^index\.htm$ index.php RewriteRule ^events/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)$ events.php?id=$1&active=$2&flyer=$3&type_id=$4 The URL would look like this: http://www.domain.tld/dev/events.php?id=xxx&active=x&flyer=x&type_id=x
  3. FIXED .. looks like the new line for the allow_url_include on fixed the problem ... very odd however.
  4. Again, allow_url_fopen is on .. in both, however, when looking at the phpinfo, I see this: allow_url_fopen On On allow_url_include Off Off I cannot locate the allow_url_include in any of the ini files at all .. was this removed or renamed in 5.2?
  5. yup .. i checked and it's reading the normal /etc/php.ini .. also both files have allow_url_fopen=on .. I have restarted both Apache and the server (for another reason_) with no luck. Would this have anything to do with the chrooted environment on CentOS?
  6. I get an error now, not sure why it wasn't reporting prior and have checked the php.ini for the allow_url_fopen, which is on but still being refused: Warning: require() [function.require]: URL file-access is disabled in the server configuration in /var/www/vhosts/domain.tld/httpdocs/dev/events.php on line 86 Warning: require(http://www.domain.tld/dev/scripts/left_sidebar.php) [function.require]: failed to open stream: no suitable wrapper could be found in /var/www/vhosts/domain.tld/httpdocs/dev/events.php on line 86 Fatal error: require() [function.require]: Failed opening required 'http://www.domain.tld/dev/scripts/left_sidebar.php' (include_path='.:') in /var/www/vhosts/domain.tld/httpdocs/dev/events.php on line 86 I adjusted this to use require_once and include_once with the same results .. I am not sure what is going on since there are two php.ini files (on in /etc and one for Zend, both of which have the allow on).
  7. I have a puzzeling situation that I cannot solve. After having our OS reinstalled, all our old PHP scripts are no longer retrieving the include or required files in the scripts. The OS is CentOS 5.2 and it seems when the sites subdomains listed under /var/www/vhosts/site.com/subdomains/domain.name/httpdocs/ cannot retrieve any files from outside that directory. This was working before the reload, which was in response to a hardware issue. The OS'es are the same and nothing has been adjusted. OS: CentOS 5 Web: Apache 2.2.3 PHP: PHP 5.2.6 MySQL: 5.0.58 PERL: 5.8.8
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.