Note that there are some explanatory texts on larger screens.

plurals
  1. POhtaccess trouble
    primarykey
    data
    text
    <p>I have this .htaccess file, which is not working, when I navegate to gotgage.local/category/gages/ the gages portion of this is not being passed</p> <pre><code>RewriteEngine On RewriteRule ^/category/(.*?)/$ category.php?p=$1 [rn] </code></pre> <p>For the sake of testing the category.php file is just dumping $_POST, $_GET and $_SERVER this is what I am seeing when I open the page.</p> <pre><code>GET Array ( ) POST Array ( ) SERVER Array ( [HTTP_USER_AGENT] =&gt; Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.59 Safari/525.19 [HTTP_ACCEPT_ENCODING] =&gt; gzip,deflate,bzip2,sdch [HTTP_ACCEPT] =&gt; text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 [HTTP_CACHE_CONTROL] =&gt; max-age=0 [HTTP_ACCEPT_LANGUAGE] =&gt; en-US,en [HTTP_ACCEPT_CHARSET] =&gt; ISO-8859-1,*,utf-8 [HTTP_HOST] =&gt; gotgage.local [HTTP_CONNECTION] =&gt; Keep-Alive [PATH] =&gt; /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] =&gt; Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch Server at gotgage.local Port 80 [SERVER_SOFTWARE] =&gt; Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch [SERVER_NAME] =&gt; gotgage.local [SERVER_ADDR] =&gt; 192.168.0.180 [SERVER_PORT] =&gt; 80 [REMOTE_ADDR] =&gt; 192.168.0.196 [DOCUMENT_ROOT] =&gt; /home/gotgage/www/ [SERVER_ADMIN] =&gt; [no address given] [SCRIPT_FILENAME] =&gt; /home/gotgage/www/category.php [REMOTE_PORT] =&gt; 56793 [GATEWAY_INTERFACE] =&gt; CGI/1.1 [SERVER_PROTOCOL] =&gt; HTTP/1.1 [REQUEST_METHOD] =&gt; GET [QUERY_STRING] =&gt; [REQUEST_URI] =&gt; /category/gages/ [SCRIPT_NAME] =&gt; /category.php [PATH_INFO] =&gt; /gages/ [PATH_TRANSLATED] =&gt; /home/gotgage/www/gages/ [PHP_SELF] =&gt; /category.php/gages/ [REQUEST_TIME] =&gt; 1241579116 [argv] =&gt; Array ( ) [argc] =&gt; 0 ) </code></pre> <p>Technically the redirect is working however I am not getting the vars the page below that is dumping is the correct from the correct page but my vars are not being passed.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload