I have been searching for days on how to fix this issue...
I have a website that has only one file index.php. All URLs are dynamics and index.php looks at the REQUEST_URI and serves up the right content. Here is part of my httpd.conf:
- Code: Select all
<VirtualHost *:80>
ServerAdmin someemail@domain.com
ServerName xyz.domain.com
DocumentRoot "/var/www/restful"
<Directory "/var/www/restful">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
RewriteEngine On
RewriteBase /
DirectoryIndex /index.php
RewriteCond %{REQUEST_URI} !/index\.php
RewriteRule ^(.*) /index.php [NC,L]
</Directory>
</VirtualHost>
My issue it that $_POST is empty. Is there anyway around this?
Thanks,
Stephen.