ispCP - Board - Support
[Resuelto] error RedirectMatch - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: Spanish Corner (/forum-29.html)
+--- Thread: [Resuelto] error RedirectMatch (/thread-7965.html)



[Resuelto] error RedirectMatch - morgan - 09-25-2009 08:13 PM

tengo este error

/etc/init.d/apache2 reload
Syntax error on line 79 of /etc/apache2/sites-enabled/ispcp.conf:
RedirectMatch takes two or three arguments, an optional status, then a regular expression and destination URL

la linea 79 es el primer redirectmatch
RedirectMatch permanent ^/ftp([\/]?) http:// admin.indaloweb.com/ftp/
RedirectMatch permanent ^/pma([\/]?) http:// admin.indaloweb.com/pma/
RedirectMatch permanent ^/panel([\/]?) http:// admin.indaloweb.com/
RedirectMatch permanent ^/correoweb([\/]?) http:// admin.indaloweb.com/webmail/

este es mi /etc/apache2/sites-available/00_master.conf
Alias /errors /var/www/ispcp/gui/errordocs/

ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html

Alias /pma /var/www/ispcp/gui/tools/pma/
Alias /ftp /var/www/ispcp/gui/tools/filemanager/
Alias /correoweb /var/www/ispcp/gui/tools/correoweb/
Alias /correo /var/www/ispcp/gui/tools/correo/

este mi /etc/ispcp/apache/00_master.conf

Alias /errors {ROOT_DIR}/gui/errordocs/

ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html

Alias /pma {ROOT_DIR}/gui/tools/pma/
Alias /ftp {ROOT_DIR}/gui/tools/filemanager/
Alias /correoweb {ROOT_DIR}/gui/tools/webmail/
Alias /correo {ROOT_DIR}/gui/tools/correo /

este mi /etc/ispcp/apache/working/ispcp.conf

RedirectMatch permanent ^/ftp([\/]?) http:// admin.indaloweb.com/ftp/
RedirectMatch permanent ^/pma([\/]?) http:// admin.indaloweb.com/pma/
RedirectMatch permanent ^/panel([\/]?) http:// admin.indaloweb.com/
RedirectMatch permanent ^/correoweb([\/]?) http:// admin.indaloweb.com/webmail/
RedirectMatch permanent ^/correo ([\/]?) admin.indaloweb.com/correo /

alguan idea? gracias de antemano


RE: error RedirectMatch - joximu - 09-25-2009 08:23 PM

Quote:este mi /etc/ispcp/apache/working/ispcp.conf

RedirectMatch permanent ^/ftp([\/]?) http:// admin.indaloweb.com/ftp/

-> http://admin.indaloweb.com/ftp/

Quote:RedirectMatch permanent ^/pma([\/]?) http:// admin.indaloweb.com/pma/
RedirectMatch permanent ^/panel([\/]?) http:// admin.indaloweb.com/
RedirectMatch permanent ^/correoweb([\/]?) http:// admin.indaloweb.com/webmail/

http:// admin... -> http://admin...

Quote:RedirectMatch permanent ^/correo ([\/]?) admin.indaloweb.com/correo /

-> http://admin.indaloweb.com/correo/

/Joxi


RE: error RedirectMatch SOLUCIONADO - morgan - 09-25-2009 10:00 PM

(09-25-2009 08:13 PM)morgan Wrote:  tengo este error

/etc/init.d/apache2 reload
Syntax error on line 79 of /etc/apache2/sites-enabled/ispcp.conf:
RedirectMatch takes two or three arguments, an optional status, then a regular expression and destination URL

la linea 79 es el primer redirectmatch
RedirectMatch permanent ^/ftp([\/]?) http:// admin.indaloweb.com/ftp/
RedirectMatch permanent ^/pma([\/]?) http:// admin.indaloweb.com/pma/
RedirectMatch permanent ^/panel([\/]?) http:// admin.indaloweb.com/
RedirectMatch permanent ^/correoweb([\/]?) http:// admin.indaloweb.com/webmail/

este es mi /etc/apache2/sites-available/00_master.conf
Alias /errors /var/www/ispcp/gui/errordocs/

ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html

Alias /pma /var/www/ispcp/gui/tools/pma/
Alias /ftp /var/www/ispcp/gui/tools/filemanager/
Alias /correoweb /var/www/ispcp/gui/tools/correoweb/
Alias /correo /var/www/ispcp/gui/tools/correo/

este mi /etc/ispcp/apache/00_master.conf

Alias /errors {ROOT_DIR}/gui/errordocs/

ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html

Alias /pma {ROOT_DIR}/gui/tools/pma/
Alias /ftp {ROOT_DIR}/gui/tools/filemanager/
Alias /correoweb {ROOT_DIR}/gui/tools/webmail/
Alias /correo {ROOT_DIR}/gui/tools/correo /

este mi /etc/ispcp/apache/working/ispcp.conf

RedirectMatch permanent ^/ftp([\/]?) http:// admin.indaloweb.com/ftp/
RedirectMatch permanent ^/pma([\/]?) http:// admin.indaloweb.com/pma/
RedirectMatch permanent ^/panel([\/]?) http:// admin.indaloweb.com/
RedirectMatch permanent ^/correoweb([\/]?) http:// admin.indaloweb.com/webmail/
RedirectMatch permanent ^/correo ([\/]?) admin.indaloweb.com/correo /

alguan idea? gracias de antemano

Garcias eso era