[EMAIL PROTECTED] FROM httpd.conf TO .htaccess
Fellows, I need to change this configuration from my httpd.conf file to an .htacces file so my scripts can work in any apache without having acces (or change) the server httpd.conf Here's the piece of the httpd.conf RewriteEngine On RewriteLogLevel 9 RewriteLog logs/server.com-rewrite_log RewriteRule ^/(.*\.html)$ /index.php?$1 [L] RewriteRule ^/(.*\.htm)$ /index.php?$1 [L] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Redirecting Problem (Wear)
Here's the problem I had this config in the httpd.conf RewriteEngine On RewriteLogLevel 9 RewriteLog logs/website/www.website.com-rewrite_log RewriteRule ^/(.*\.html)$ /index.php?$1 [L] RewriteRule ^/(.*\.htm)$ /index.php?$1 [L] But if I move this configuration from httpd.conf to .htaccess doesn't work WHY? or WHAT I HAVE TO DO? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Redirection
I have this URL http://www.server.com/index.php?article1.html and work like that http://www.server.com/?article1.html But I really really need this http://www.server.com/article1.html And I need to work like previous URL and I need to make the changes in .htaccess file PLEASE I had try everything and nothing work, somebody can help me please. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] .htaccess Redirection
I had this conf in my httpd.conf, in the VirtualDirectory of one website: RewriteEngine On RewriteLogLevel 9 RewriteRule ^/.*\.html$ /index.php?$1 [L] RewriteRule ^/.*\.htm$ /index.php?$1 [L] And I need to create a .htaccess file to work identical. I had try but nothing work :-( - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Re: [***SPAM*** Score/Req: 18.0/5.0] Re: [EMAIL PROTECTED] .htaccess Redirection
Please my friend, can you be more specifyc...I mean how the code will look. Thanks and Regards. - Original Message - From: "Eric Covener" <[EMAIL PROTECTED]> To: Sent: Monday, July 28, 2008 7:40 PM Subject: [***SPAM*** Score/Req: 18.0/5.0] Re: [EMAIL PROTECTED] .htaccess Redirection On Mon, Jul 28, 2008 at 5:52 PM, Alberto García Gómez <[EMAIL PROTECTED]> wrote: I had this conf in my httpd.conf, in the VirtualDirectory of one website: RewriteEngine On RewriteLogLevel 9 RewriteRule ^/.*\.html$ /index.php?$1 [L] RewriteRule ^/.*\.htm$ /index.php?$1 [L] And I need to create a .htaccess file to work identical. I had try but nothing work :-( Add an appropriate RewriteBase Strip off "^/.*" from your rules Figure out if you want to rewrite to "/index.php" or "index.php" (of if this goes in documentroot, just drop the /) -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] APACHE mod_rewrite
How to compare cookie value to request URLI have this URL http://www.myserver.com/dir1/dir2/page.html and I wish to rewrite the url using mod_rewrite to add a ~ after the first dir always, eg.: http://www.myserver.com/~dir1/dir2/page.html Please it's very important to make this ASAP best regards Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas"
[EMAIL PROTECTED] mod_proxy
How to compare cookie value to request URLCan I proxying a connection using mod_proxy in avirtual host? Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas"
[EMAIL PROTECTED] Re: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] APACHE mod_rewrite
Hi Joshua and fellows: Here's my problem indeed: I working in a website and I trying to make this website full SEO. Now actually I'm pasing all parameters to the server in this way: 1.- http://www.myserver.com/?param1/param2/param3.html But I want to pass the parameters in this way: 2.- http://www.myserver.com/param1/param2/param3.html So to users and search engines the above URI will be the (2), but the to the Apache must be the (1) I hope you can help me. my best regards. - Original Message - From: "Joshua Slive" <[EMAIL PROTECTED]> To: Sent: Thursday, November 01, 2007 11:22 AM Subject: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] APACHE mod_rewrite On Oct 31, 2007 4:04 PM, Alberto García Gómez <[EMAIL PROTECTED]> wrote: I have this URL http://www.myserver.com/dir1/dir2/page.html and I wish to rewrite the url using mod_rewrite to add a ~ after the first dir always, eg.: http://www.myserver.com/~dir1/dir2/page.html Please it's very important to make this ASAP The question is not well specified. Do you want to change what the users see or what apache tries to access? Tell us exactly what you want people to type in their browser (or html links) and exactly what you want apache to do when it receives the request. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas" - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Re: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] mod_proxy
Here's the idea: I have an Apche server running over port 80 and a Squid proxy server running in the same machine in 3128. But trough some firewall restrinctions that I can't change due Systems Security Polices. So I want some users navigate using mod_proxy but I have not idea how to do it. I'll apreciate any idea and help. my best regards. - Original Message - From: "Joshua Slive" <[EMAIL PROTECTED]> To: Sent: Thursday, November 01, 2007 11:23 AM Subject: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] mod_proxy On Oct 31, 2007 4:07 PM, Alberto García Gómez <[EMAIL PROTECTED]> wrote: Can I proxying a connection using mod_proxy in avirtual host? Yes. If you need more help, please give us more details about what you are trying to accomplish. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas" - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Re: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] APACHE mod_rewrite
Joshua: I place the directives in both VirtualHost and in the .htaccess file and nothing happen, ins't working. - Original Message - From: "Joshua Slive" <[EMAIL PROTECTED]> To: Sent: Thursday, November 01, 2007 01:07 PM Subject: Re: [EMAIL PROTECTED] Re: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] APACHE mod_rewrite On Nov 1, 2007 11:21 AM, Alberto García Gómez <[EMAIL PROTECTED]> wrote: Hi Joshua and fellows: Here's my problem indeed: I working in a website and I trying to make this website full SEO. Now actually I'm pasing all parameters to the server in this way: 1.- http://www.myserver.com/?param1/param2/param3.html But I want to pass the parameters in this way: 2.- http://www.myserver.com/param1/param2/param3.html So to users and search engines the above URI will be the (2), but the to the Apache must be the (1) As search engines get smarter, this kind of optimization matters less and less, but anyway: RewriteEngine On RewriteRule ^/(.*\.html) /?$1 [L] This assumes you want the full path injected in the query string if and only if it ends in html. Other specific restrictions could easily be added with addition RewriteRules. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas" - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] MOD_REWRITE
Joshua, please check the result log (attach it) for a single request of a page. Off course I do this: http://myserver.com/page.html but nothing return, otherwise if I request: http://myserver.com/?page.html it works Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas" myserver.com-rewrite_log Description: Binary data - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Re: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] MOD_REWRITE
Joshua: My deepest apologies for my faults, I promisse you don't do it again. Now it's working fine, I really apreciate this help. best regards. - Original Message - From: "Joshua Slive" <[EMAIL PROTECTED]> To: Sent: Thursday, November 01, 2007 03:44 PM Subject: [***SPAM*** Score/Req: 10.4/5.0] Re: [EMAIL PROTECTED] MOD_REWRITE On Nov 1, 2007 2:17 PM, Alberto García Gómez <[EMAIL PROTECTED]> wrote: Joshua, please check the result log (attach it) for a single request of a page. Off course I do this: http://myserver.com/page.html but nothing return, otherwise if I request: http://myserver.com/?page.html it works A few notes here: 1. Don't start new threads. Reply to the old message so that everything groups together for threaded mail programs. 2. Don't just attach your log. Open it up and paste in what you think is the part relevant to solving the problem. (This ain't a log debugging service, it's a discussion forum.) 3. You don't appear to have RewriteLogLevel up very high. 4. Obviously the rewrite is looping due to the way your config is setup. This might work better: RewriteRule ^/(.*\.html)$ /usr/local/apache2/htdocs/index.php?$1 Obviously I'm just guessing about the true path to the php script. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas" - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Disabling Functions And Clasess
Can I use -dissable_classes- and -dissable_functions- directives inside Apache virtual host configuration using php_value directive. Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas"
[EMAIL PROTECTED] Allowed path in VHosts
Is there some directive that configure a vistual host to only see inside a path eg.: /var/www/users/user1 Este correo ha sido enviado desde el Polit�cnico de Inform�tica "Carlos Marx" de Matanzas. "La gran batalla se librar� en el campo de las ideas" - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Apache under windows Rewrite Error
HI fellows: I in front of this several error. I have an Apache server under windows and everything is working fine except but this small error when I using mod_rewirte (under *nix work fine) this is my vhost server conf: NameVirtualHost 127.0.0.1:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot C:\apache\server ServerName www.server.com ErrorLog logs/server.com-error_log CustomLog logs/server.com-access_log common RewriteEngine On RewriteLogLevel 2 RewriteLOg logs/server.com-rewrite_log RewriteRule ^/(.*\.html)$ C:\\apache\\server\\index.php?$1 and when I request http://www.server.com/page1.html its return this rewrite log: 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#1098688/initial] (2) init rewrite engine with requested uri /page1.html 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#1098688/initial] (2) rewrite '/page1.html' -> 'C:\apache\server\index.php?page1.html' 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#1098688/initial] (2) local path result: C:\apache\server\index.php 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#1098688/initial] (1) prefixing with document_root of C:\apache\server\index.php FAILED 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#1099f00/initial/redir#1] (2) init rewrite engine with requested uri /error/HTTP_BAD_REQUEST.html.var 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#1099f00/initial/redir#1] (1) pass through /error/HTTP_BAD_REQUEST.html.var 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#10ac730/subreq] (2) init rewrite engine with requested uri /error/include/top.html 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#10ac730/subreq] (2) rewrite '/error/include/top.html' -> 'C:\apache\server\index.php?error/include/top.html' 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#10ac730/subreq] (2) local path result: C:\apache\server\index.php 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#10ac730/subreq] (1) prefixing with document_root of C:\apache\server\index.php FAILED 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#10ae738/subreq] (2) init rewrite engine with requested uri /error/include/bottom.html 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#10ae738/subreq] (2) rewrite '/error/include/bottom.html' -> 'C:\apache\server\index.php?error/include/bottom.html' 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#10ae738/subreq] (2) local path result: C:\apache\server\index.php 127.0.0.1 - - [09/Jan/2008:11:50:33 --0500] [www.server.com/sid#7449f8][rid#10ae738/subreq] (1) prefixing with document_root of C:\apache\server\index.php FAILED Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas"