Windows Apache 2.4 VirtualHost Definition
Posted Over 10 years ago. Visible to the public.
Put this in your httpd.conf:
<VirtualHost *:80>
DocumentRoot "C:/your/docroot"
ServerName yourname.local
DirectoryIndex index.php
</VirtualHost>
<Directory "C:/your/docroot">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Last edit
Over 10 years ago
Related cards:
Config ACL Definition
This should go in adminhtml.xml
. Also see Config Menu Definition (note that the XML path of the menu entry needs to match up with the XML path of the ACL entry). To see how to impl...
Config Menu Definition
This should go in adminhtml.xml. Also see Config ACL Definition (note that the XML path of the ACL entry needs to match up with the XML path of the menu entry).
To place an entry und...
Config Model & Resource Model Definition
<config>
<global>
<models>
<namespace_module>
<class>Namespace_Module_Model</class>
<resourceModel>namespace_module_resource</resourceModel>
</namespac...
Config Setup Definition (EAV & Flat)
EAV:
<config>
<global>
<resources>
<namespace_module_setup>
<setup>
<module>Namespace_Module</module>
<class>Mage_Eav_Model_Entity_Setup</...
Config Block Definition
<config>
<global>
<blocks>
<namespace_module>
<class>Namespace_Module_Block</class>
</namespace_module>
</blocks>
</global>
</config>
![](http://m...
Config Event Observer Definition (Frontend, Admin & Global)
Frontend:
<config>
<frontend>
<events>
<the_name_of_the_event_to_observe>
<observers>
<namespace_module>
<class>namespace_module/obser...
Config Cronjob Definition
<config>
<crontab>
<jobs>
<cron_job_name>
<schedule>
<cron_expr>* * * * *</cron_expr>
</schedule>
<run>
...
Config Layout Definition (Frontend & Admin)
Frontend:
<config>
<frontend>
<layout>
<updates>
<namespace_module>
<file>namespace-module.xml</file>
</namespace_module>
</up...
Config Controller Definition (Frontend & Admin)
Frontend With Route:
<config>
<frontend>
<routers>
<namespace_module>
<use>standard</use>
<args>
<module>Namespace_Module</module>
...
Config FPC Placeholder Definition
This should go in cache.xml
. See Boilerplate FPC No-Cache Container for a boilerplate container.
<config>
<placeholders>
<namespace_module>
...
Posted by Mike Whitby to Magento (2013-12-09 11:32)