Re: Re: create htaccess.
| From: | Jason Wong | Date: | Mon, 06 Dec 2004 12:39:54 +0000 |
| Subject: | Re: Re: create htaccess. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203572@lists.php.net to get a copy of this message | ||
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
*/