RE: Problem with Windoes Apache .htacces include

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

 



> -----Original Message-----
> From: Stephen [mailto:stephen-d@xxxxxxxxxx] 
> Sent: Wednesday, January 17, 2007 3:47 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject:  Problem with Windoes Apache .htacces include
> 
> I normally work on my Linux server at home, but I am on the 
> road for a 
> number of weeks, and installed Apache, PHP and MySQL on my laptop. 
> Windows XP Pro.
> 
> Most works fine, but I can;t seem to get my include override in 
> .htaccess working.
> 
> The vhosts setting is:
> 
> <VirtualHost *:80>
>     ServerAdmin webmaster@xxxxxxxxxxxxxxxxxxx
>     DocumentRoot C:/www/www/stephenofroissy.com/public_html
>     ServerName www.stephenofroissytest.com
>     ErrorLog C:/www/www/stephenofroissy.com/public_html/error.log
>     CustomLog 
> C:/www/www/stephenofroissy.com/public_html/access.log common
> </VirtualHost>
> 
> www.stephenofroissytest.com does resolve to 127.0.0.1 and I 
> can view the 
> index page and the file that I want to include when it is in the 
> document root.
> 
> The .htacces file is:

Where is this file and what is it called, .htacces or .htaccess?

> 
> # Set the include path
> php_value include_path "C:/www/www/stephenofroissy.com/include"

This is a PHP definition - can it go in a .htaccess file? What parses it
- mod_php?

> 
> When I have cpfunctions.php in the document root, and enter 
> http://www.stephenofroissytest.com/cpfunctions.php it goes as 
> expected.
> 
> When I move cpfunctions.php to 
> C:/www/www/stephenofroissy.com/include I 
> get a 404. 

>From apache or PHP?

> And *no* log entry.

Error log or access log? You should definitely get something in the
error log...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> Help!
> 
> Please. And thank you
> 
> Stephen
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux