Current time: 11-17-2024, 03:19 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Resuelto] error RedirectMatch
Author Message
morgan Offline
Junior Member
*

Posts: 63
Joined: Dec 2007
Reputation: 0
Post: #1
[Resuelto] error RedirectMatch
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
(This post was last modified: 09-25-2009 10:38 PM by kurgans.)
09-25-2009 08:13 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: error RedirectMatch
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
(This post was last modified: 09-25-2009 08:24 PM by joximu.)
09-25-2009 08:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
morgan Offline
Junior Member
*

Posts: 63
Joined: Dec 2007
Reputation: 0
Post: #3
RE: error RedirectMatch SOLUCIONADO
(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
09-25-2009 10:00 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)