appserver-io-lab/mage-servlet 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

appserver-io-lab/mage-servlet

最新稳定版本:0.1.0

Composer 安装命令:

composer require appserver-io-lab/mage-servlet

包简介

An appserver.io servlet to execute Magento

README 文档

README

This is minimalistic servlet implementation to run Magento as servlet in the servlet engine.

Issues

In order to bundle our efforts we would like to collect all issues regarding this package in the main project repository's issue tracker. Please reference the originating repository as the first element of the issue title e.g.: [appserver-io/<ORIGINATING_REPO>] A issue I am having

Usage

To activate the servlet create a file called WEB-INF/web.xml in your Magento root directory and copy the following content into this file.

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="1.0">

    <display-name>Mage Servlet</display-name>
    <description>Mage Servlet</description>

    <servlet>
        <description/>
        <display-name>MageServlet</display-name>
        <servlet-name>MageServlet</servlet-name>
        <servlet-class>AppserverIo\Lab\MageServlet\MageServlet</servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>MageServlet</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>MageServlet</servlet-name>
        <url-pattern>/*</url-pattern>
    </servlet-mapping>

</web-app>

After storing the file and restarting the appserver open your browser enter the URL http://127.0.0.1:9080/magento/index.do to run Magento using the servlet instead of the FastCGI or PHP module.

统计信息

  • 总下载量: 57
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2015-02-12