Include directive..

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

 



Hi,

I am modifying the apache config file on my domain to include the path to
the Zend Framework on a specified location outside the public folder.

So in my http.conf file i simply include the path to where the includes file
is to customise the virtual host:

[CODE]

# To customize this VirtualHost use an include file at the following
location
     Include
"/usr/local/apache/conf/userdata/std/2/domains/mydomain.co.za/me.conf"
[/CODE]

And then me.conf looks like this:
[CODE]
Include "/home/domain/apps"
Include "/home/domain/apps/models"
Include "/home/domain/apps/lib"
[/CODE]

But then i get this error:

[CODE]
Failed to generate a syntactically correct Apache configuration.
Bad configuration file located at
/usr/local/apache/conf/httpd.conf.1228614930
Error:
Configuration problem detected on line 277 of file
/usr/local/apache/conf/httpd.conf.1228614930:        : Syntax error on line
1 of /usr/local/apache/conf/userdata/std/2/domain/mydomain.co.za/me.conf:
Syntax error on line 1 of /home/domain/apps/Bootstrap.php:
/home/maineven/apps/Bootstrap.php:1: <?php> was not closed.[/CODE]

But i do have the <?php tag closed in my Bootstrap file. I dont know why it
is saying otherwise.

Please help is needed.

Thanks

-----
dee
-- 
View this message in context: http://www.nabble.com/Include-directive..-tp20878655p20878655.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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