ASP4

 view release on metacpan or  search on metacpan

t/conf/asp4-config.json  view on Meta::CPAN

{
  "system": {
    "post_processors": [
      
    ],
    "libs": [
      "@ServerRoot@/lib"
    ],
    "load_modules": [
      "DBI",
      "DBD::SQLite"
    ],
    
    "env_vars": {
      "myvar":        "Some-Value",
      "another_var":  "Another Value"
    },
    "settings": {
      "foo": "bar",
      "baz": "bux"
    }
  },
  "errors": {
    "error_handler":    "ASP4::ErrorHandler",
    "mail_errors_to":   "jdrago_999@yahoo.com",
    "mail_errors_from": "root@localhost",
    "smtp_server":      "localhost"
  },
  "web": {
    "application_name": "DefaultApp",
    "application_root": "@ServerRoot@",
    "www_root":         "@ServerRoot@/htdocs",
    "handler_root":     "@ServerRoot@/handlers",
    "handler_resolver": "ASP4::HandlerResolver",
    "handler_runner":   "ASP4::HandlerRunner",
    "filter_resolver":  "ASP4::FilterResolver",
    "request_filters": [
      {
        "uri_match":  "^/seo/.*",
        "class":      "My::SEOFilter"
      },
      {
        "uri_match":  "^/seo2/.*",
        "class":      "My::SEOFilter"
      }
    ],
    "disable_persistence": [
      {
        "uri_match":            "^/handlers/dev\\.speed",
        "disable_session":      true
      },
      {
        "uri_match":            "^/index\\.asp",
        "disable_session":      true
      },
      {
        "uri_match":            "^/hello\\.asp",
        "disable_session":      true
      },
      {
        "uri_match":            "^/masters/deep.asp",
        "disable_session":      true
      }
    ]
  },
  "data_connections": {
    "session": {
      "manager":          "ASP4::SessionStateManager::InMemory",
      "cookie_name":      "session-id",
      "cookie_domain":    "*",
      "session_timeout":  "*",
      "dsn":              "DBI:SQLite:dbname=/tmp/db_asp4",
      "username":         "",
      "password":         ""
    },
    "main": {
      "dsn":      "DBI:SQLite:dbname=/tmp/db_asp4",
      "username": "",
      "password": ""
    }
  }
}



( run in 0.616 second using v1.01-cache-2.11-cpan-39bf76dae61 )