Re: Re: create htaccess.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 06 December 2004 20:11, Matthew Weier O'Phinney wrote:

> 'article.php' will have to become just 'article' for the above to work
> (unless you can do rewriting, but you indicated that you don't have
> access to your httpd.conf file). The directions for doing that are
> above; just substitute 'article' for 'index' in the <File index> area.

What you can do is create a symlink for article.php -

  ln -s article.php article

That way you'll edit and upload file as 'article.php' and apache will see it 
as 'article'. This also solves the problem whereby some editors does syntax 
highlighting based on the filename's extension. A filename of 'article' has 
no extension and hence no highlighting (unless you manually set it each time 
you load and edit the file).

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
* BenC wonders why he has upgraded to 3.3.5-1 before teh X maintainer
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux