|
|
Line 43: |
Line 43: |
| </Directory> | | </Directory> |
| </VirtualHost> | | </VirtualHost> |
− | </pre>
| |
− |
| |
− | == Tracking Link Issues ==
| |
− | The following information can be used for your ''.htaccess'' file if you are having issues with your [[NATS]] tracking links.
| |
− |
| |
− | === Zend Optimizer ===
| |
− | To use Apache 2.0 with Zend Optimizer and NATS, change all of the lines
| |
− | starting with SetHandler in your ''nats/www/.htaccess''. Replace the
| |
− | SetHandler with ForceType. For example:
| |
− |
| |
− | '''Old'''
| |
− | <pre>
| |
− | <Files ttrack>
| |
− | SetHandler application/x-httpd-php
| |
− | </Files>
| |
− | </pre>
| |
− |
| |
− | '''New'''
| |
− | <pre>
| |
− | <Files ttrack>
| |
− | ForceType application/x-httpd-php
| |
− | </Files>
| |
− | </pre>
| |
− |
| |
− | Also add "AcceptPathInfo On" to the virtual host configuration in Apache's
| |
− | httpd.conf.
| |
− |
| |
− | === Apache 2 ===
| |
− | Most of our .htaccess files have the following lines:
| |
− |
| |
− | <pre>
| |
− | <Files track>
| |
− | SetHandler application/x-httpd-php
| |
− | </Files>
| |
− | </pre>
| |
− |
| |
− | Apache 2 requires you change the lines above to the lines below:
| |
− |
| |
− | <pre>
| |
− | <Files track>
| |
− | SetOutputFilter PHP
| |
− | SetInputFilter PHP
| |
− | </Files>
| |
| </pre> | | </pre> |
| | | |