Re: [users@httpd] .htaccess mobil client

2018-01-13 Thread Richard
> Date: Sunday, January 14, 2018 00:03:27 +0300 > From: Gokan Atmaca > > On Sat, Jan 13, 2018 at 10:52 PM, Richard wrote: >> >>> Date: Saturday, January 13, 2018 22:43:38 +0300 >>> From: Gokan Atmaca >>> >>> The structure of our site is as

Re: [users@httpd] .htaccess mobil client

2018-01-13 Thread Gokan Atmaca
> What do your access and error logs show? There is no error. The access logs are as follows. x.x.x.x.x- [13/Jan/2018:15:52:04 +0300] "GET /e/home-ajax-get-prepared-orders HTTP/1.1" 200 1062 "http://a.desk.com/e; "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko)

Re: [users@httpd] .htaccess mobil client

2018-01-13 Thread Richard
> Date: Saturday, January 13, 2018 22:43:38 +0300 > From: Gokan Atmaca > > The structure of our site is as follows. Connections default to > "desk.site" folder. If the incoming connection requests come from > mobile phones, "msite" goes to the folder. But CSS, JS files >

Re: [users@httpd] .htaccess mobil client

2018-01-13 Thread Gokan Atmaca
> this should be something like > > RewriteRule ^(.*)$ /msite$1 [L,R=301] Hello The structure of our site is as follows. Connections default to "desk.site" folder. If the incoming connection requests come from mobile phones, "msite" goes to the folder. But CSS, JS files are not coming. I made a

Re: [users@httpd] .htaccess mobil client

2018-01-13 Thread Walter H.
On 12.01.2018 22:23, Gokan Atmaca wrote: Hello I am redirecting Apache mobile clients to the mobile site. But the files like cs,js,font,img are not working. Can you help with this ? config: RewriteCond %{HTTP_USER_AGENT} ^.*(android|iPhone).*$ [NC] RewriteRule ^ /msite/$1 [R=301,L] what is

[users@httpd] .htaccess mobil client

2018-01-12 Thread Gokan Atmaca
Hello I am redirecting Apache mobile clients to the mobile site. But the files like cs,js,font,img are not working. Can you help with this ? config: RewriteCond %{HTTP_USER_AGENT} ^.*(android|iPhone).*$ [NC] RewriteRule ^ /msite/$1 [R=301,L]

Re: [users@httpd] .htaccess

2017-09-18 Thread Rondon
Hi Yann, But I need to have both working.. By Referer bypass the user authentication if Referer is different it needs the user authentication. Cheers, Rondon - Your life is shaped by your mind and you

Re: [users@httpd] .htaccess

2017-09-16 Thread Yann Ylavic
Hi Rondon, On Fri, Sep 15, 2017 at 12:27 AM, Rondon wrote: > Hi Folks, > > Sorry to bother you. > My website is using apache at Dreamhost. > > I'm authenticating using a require valid-user at .htaccess > But I need to add more directives to authenticate the access by Referer.

[users@httpd] .htaccess

2017-09-14 Thread Rondon
Hi Folks, Sorry to bother you. My website is using apache at Dreamhost. I'm authenticating using a require valid-user at .htaccess But I need to add more directives to authenticate the access by Referer. If the user comes from a specific referer, the user doesn't have to receive the

[users@httpd] htaccess looping

2017-09-13 Thread Marek Sloboda
Hi, I've got problem with htaccess configuration. On my site i have 3 types of access http://zeroproblem.pl -> direct to directory test2/index.php (which is file) http://zeroproblem.pl/zeroproblem -> direct to directory test2/zeroproblem (which is directory) http://zeroproblem.pl/admin -> is

[users@httpd] htaccess help

2017-06-20 Thread Yuri Fontella
Good Evening, I'm trying to create a rule with the following scenario ... I have a server with two virtual hosts, it's the same ip. Virtual host 1 = videos Virtual host 2 = website What I need is for vh2 to access the vh1 videos but not to be able to access the videos through the vh1 url. I got

Re: [users@httpd] .htaccess rule match keyword

2017-02-06 Thread Yann Ylavic
Hi, On Mon, Feb 6, 2017 at 11:34 AM, Rajib Karmakar wrote: > > RewriteRule ^cart(.*)$ cart.php > > https://www.berkshirefurniture.com/cart/ [] > > https://www.berkshirefurniture.com/carter-upholstered-bed/p/bmV3LWFycml2YWw= > > ## For showing leaf sub category of item

[users@httpd] .htaccess rule match keyword

2017-02-06 Thread Rajib Karmakar
Hi, RewriteRule ^cart(.*)$ cart.php https://www.berkshirefurniture.com/cart/ https://www.berkshirefurniture.com/carter-upholstered-bed/p/bmV3LWFycml2YWw= ## For showing leaf sub category of item RewriteCond %{REQUEST_URI} !^/([^/]*)/p RewriteCond %{REQUEST_FILENAME} !-f RewriteCond

[users@httpd] htaccess proxy and ipv6

2015-05-03 Thread Alexey Noskov
Hello, I have a shared hosting (so I don't have root access). I would like to make proxy using htaccess to getting access to server having only ipv6 address (no damain name). Here is my .htaccess file: RewriteEngine on RewriteBase/ RewriteRule ^(.*)$ http://[2001:858:2:1::10]/$1 [P]

[users@httpd] htaccess in a directory under one with another htaccess

2014-10-26 Thread thomas Armstrong
Hi. On my Apache Server, I have this structure to host a website under '/' and a WordPress blog under '/myblog' directory: --- root_directory/.htaccess --- root_directory/php_stuff --- root_directory/myblog/.htaccess --- root_directory/myblog/php_wp_stuff Within 'root_directory/.htaccess' file I

Re: [users@httpd] .htaccess 500 error with invalid command 'IfModule'

2014-10-05 Thread Volkan Gezer
2014-10-05 5:07 GMT+02:00 Edgar Pettijohn ed...@pettijohn.no-ip.biz: Just looked at your httpd.conf and it shows you have these modules loaded. This is odd. On 10/04/2014 10:03 PM, Edgar Pettijohn wrote: SetEnvIfNoCase needs mod_setenvif DirectoryIndex needs mod_dir Yes, I have these

Re: [users@httpd] .htaccess 500 error with invalid command 'IfModule'

2014-10-05 Thread Edgar Pettijohn
The only other thing I can think to try is to make the changes within a Directory block in the main config and not use the .htaccess file and see if you get the same errors. On 10/05/2014 07:32 AM, Volkan Gezer wrote: 2014-10-05 5:07 GMT+02:00 Edgar Pettijohn ed...@pettijohn.no-ip.biz: Just

Re: [users@httpd] .htaccess 500 error with invalid command 'IfModule'

2014-10-04 Thread Edgar Pettijohn
Try without any IfModule directives. As long as you always plan to start apache with those modules loaded there shouldn't be an issue. On 10/03/2014 11:44 AM, Edgar Pettijohn wrote: Try leaving off the .c so mod_headers.c becomes mod_headers and so on. Double check that the path is correct

Re: [users@httpd] .htaccess 500 error with invalid command 'IfModule'

2014-10-04 Thread Volkan Gezer
Thank you for following. I removed all IfModule directives now I am receiving: /srv/http/owncloud/.htaccess: Invalid command 'SetEnvIfNoCase', perhaps misspelled or defined by a module not included in the server configuration error. Removing this line also gives: /srv/http/owncloud/.htaccess:

Re: [users@httpd] .htaccess 500 error with invalid command 'IfModule'

2014-10-04 Thread Yehuda Katz
That means that the modules that supply those directives are not loaded. On Sat, Oct 4, 2014 at 10:18 PM, Volkan Gezer vlkn...@gmail.com wrote: /srv/http/owncloud/.htaccess: Invalid command 'SetEnvIfNoCase', perhaps misspelled or defined by a module not included in the server configuration

Re: [users@httpd] .htaccess 500 error with invalid command 'IfModule'

2014-10-04 Thread Edgar Pettijohn
SetEnvIfNoCase needs mod_setenvif DirectoryIndex needs mod_dir On 10/04/2014 09:18 PM, Volkan Gezer wrote: Thank you for following. I removed all IfModule directives now I am receiving: /srv/http/owncloud/.htaccess: Invalid command 'SetEnvIfNoCase', perhaps misspelled or defined by a module

Re: [users@httpd] .htaccess 500 error with invalid command 'IfModule'

2014-10-04 Thread Edgar Pettijohn
Just looked at your httpd.conf and it shows you have these modules loaded. This is odd. On 10/04/2014 10:03 PM, Edgar Pettijohn wrote: SetEnvIfNoCase needs mod_setenvif DirectoryIndex needs mod_dir On 10/04/2014 09:18 PM, Volkan Gezer wrote: Thank you for following. I removed all IfModule

[users@httpd] .htaccess 500 error with invalid command 'IfModule'

2014-10-03 Thread Volkan Gezer
I am using Arch linux and trying to set up development environment of ownCloud and I am receiving a 500 error: [Wed Oct 01 01:17:50.901758 2014] [core:alert] [pid 32084] [client ::1:44681] /srv/http/owncloud/.htaccess: Invalid command 'IfModule', perhaps misspelled or defined by a module not

Re: [users@httpd] .htaccess 500 error with invalid command 'IfModule'

2014-10-03 Thread Edgar Pettijohn
Try leaving off the .c so mod_headers.c becomes mod_headers and so on. Double check that the path is correct also. On 10/03/2014 08:36 AM, Volkan Gezer wrote: I am using Arch linux and trying to set up development environment of ownCloud and I am receiving a 500 error: [Wed Oct 01

Re: [users@httpd] .htaccess 500 error with invalid command 'IfModule'

2014-10-03 Thread Volkan Gezer
Thank you for the answer. I removed all .c extensions from the modules. Also, replaced the names with their directives, but no success. The modules are installed into /etc/httpd/modules which is also correct in configuration. Can we somehow see which line causes the problem? I have removed all

[users@httpd] .htaccess and query string

2014-07-30 Thread Bob
Dear list, I need a rewrite where query string is the answer. http://domain/?eID=dd_googlesitemapL=0 should be redirected to http://domain/sitemap.xml So I have added the following to .htaccess RewriteEngine on RewriteCond %{QUERY_STRING} ^\eID\=dd_googlesitemap\L=0$ [NC] RewriteRule

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Eric Covener
On Wed, Jul 30, 2014 at 7:48 AM, Bob bobnli...@gmail.com wrote: RewriteRule dd_googlesitemap http://domain/sitemap.xml [R=301,L] First arg should be ^$ not a piece of the query string. -- Eric Covener cove...@gmail.com - To

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Bob
On Wed, 30 Jul 2014 07:51:25 -0400 Eric Covener cove...@gmail.com wrote: On Wed, Jul 30, 2014 at 7:48 AM, Bob bobnli...@gmail.com wrote: RewriteRule dd_googlesitemap http://domain/sitemap.xml [R=301,L] First arg should be ^$ not a piece of the query string. Hello Eric, thanks for your

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Eric Covener
On Wed, Jul 30, 2014 at 8:06 AM, Bob bobnli...@gmail.com wrote: RewriteCond %{QUERY_STRING} ^L=0$ [NC] the query strin doesn't begin with L. Why are you only matching part of it? -- Eric Covener cove...@gmail.com - To

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Bob
On Wed, 30 Jul 2014 08:25:46 -0400 Eric Covener cove...@gmail.com wrote: On Wed, Jul 30, 2014 at 8:06 AM, Bob bobnli...@gmail.com wrote: RewriteCond %{QUERY_STRING} ^L=0$ [NC] the query strin doesn't begin with L. Why are you only matching part of it? I try to use RewriteCond

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Roman Jurkov
Bob, there is not “?” in the QUERY_STRING, and RewriteRule at the moment states that you want to match dd_googlesitemap in your URL, which based on your initial email is not what you want. you want: http://domain/?eID=dd_googlesitemapL=0 should be redirected to http://domain/sitemap.xml”

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Eric Covener
On Wed, Jul 30, 2014 at 8:38 AM, Bob bobnli...@gmail.com wrote: RewriteCond %{QUERY_STRING} ^\?eID=dd_googlesitemapL=0 [NC] The question mark delimits the query string, it doesn't actually appear in it. Try using the rewritelog to see what your regular expression is actually being compared

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Bob
On Wed, 30 Jul 2014 08:59:54 -0400 Roman Jurkov winfi...@gmail.com wrote: Bob, there is not “?” in the QUERY_STRING, and RewriteRule at the moment states that you want to match dd_googlesitemap in your URL, which based on your initial email is not what you want. you want:

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Eric Covener
On Wed, Jul 30, 2014 at 9:25 AM, Bob bobnli...@gmail.com wrote: RewriteRule ^/$ http://domain/sitemap.xml [R=301,L] wrong for htaccess. Try ^$ -- Eric Covener cove...@gmail.com - To unsubscribe, e-mail:

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Bob
On Wed, 30 Jul 2014 09:34:19 -0400 Eric Covener cove...@gmail.com wrote: On Wed, Jul 30, 2014 at 9:25 AM, Bob bobnli...@gmail.com wrote: RewriteRule ^/$ http://domain/sitemap.xml [R=301,L] wrong for htaccess. Try ^$ Dear Eric, many many thanks for the clue :-) the URL has modified

[users@httpd] .htaccess that also works for parent directory listing, Apache 2.2 and 2.4

2014-01-07 Thread jidanni
I need a way to write the perfectly working Apache 2.4 .htaccess, If %{HTTP_HOST} !~ /radioscanningtw\.jidanni\.org/i Deny from all /If to also be able to work correctly for Apache 2.2.9. Thanks. SetEnvIf etc. cannot be used: please see https://issues.apache.org/bugzilla/show_bug.cgi?id=55957

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-27 Thread Joydeep Bakshi
Hello Tom, sorry for the wrong implementation of the rules. This time I have done it as per requirement actual url http://www.mydomain.com/index.php?id=7artId=7572doi=10.5414/ALP33211 it should be http://www.mydomain.com/index.php?id=7artId=7572doi=10.5414/ALP33211L=5 The L=5 has to be

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-27 Thread Joydeep Bakshi
Hello Tom, After tweaking the search pattern, the rule are working fine. Thanks for your tips and thanks to all who has given me the clue. - best wishes On 27-May-2013, at 12:34 PM, Joydeep Bakshi joydeep.bak...@netzrezepte.de wrote: Hello Tom, sorry for the wrong implementation of the

[users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Joydeep Bakshi
Hello list, Greetings !! I am using {QUERY_STRING} to append a value to a particular URL. The actual url is http://www.mydomain.com/index.php?id=7artId=7572doi=10.5414/ALP33211 and it has to become http://www.mydomain.com/index.php?id=7artId=7572doi=10.5414/ALP33211L=5 The L=5 has to be

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Eric Covener
On Fri, May 24, 2013 at 7:41 AM, Joydeep Bakshi joydeep.bak...@netzrezepte.de wrote: Hello list, Greetings !! I am using {QUERY_STRING} to append a value to a particular URL. The actual url is http://www.mydomain.com/index.php?id=7artId=7572doi=10.5414/ALP33211 and it has to become

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Joydeep Bakshi
On 24-May-2013, at 5:22 PM, Eric Covener cove...@gmail.com wrote: On Fri, May 24, 2013 at 7:41 AM, Joydeep Bakshi joydeep.bak...@netzrezepte.de wrote: Hello list, Greetings !! I am using {QUERY_STRING} to append a value to a particular URL. The actual url is

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Eric Covener
Thanks but without the leading slash it still fails to provide the redirection. Now I have RewriteRule ^ALP33211$ /ALP33211L=1 [R=301] Use the RewriteLog, no need to guess what's happening. - To unsubscribe, e-mail:

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Jens-U. Mozdzen
Hi Joydeep, Zitat von Joydeep Bakshi joydeep.bak...@netzrezepte.de: [...] Thanks but without the leading slash it still fails to provide the redirection. Now I have RewriteRule ^ALP33211$ /ALP33211L=1 [R=301] what's in mod_rewrite's debug log? Regards, Jens

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Joydeep Bakshi
On 24-May-2013, at 6:06 PM, Jens-U. Mozdzen jmozd...@nde.ag wrote: Hi Joydeep, Zitat von Joydeep Bakshi joydeep.bak...@netzrezepte.de: [...] Thanks but without the leading slash it still fails to provide the redirection. Now I have RewriteRule ^ALP33211$ /ALP33211L=1 [R=301]

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Jens-Uwe Mozdzen
Hi Joydeep, Zitat von Joydeep Bakshi joydeep.bak...@netzrezepte.de: On 24-May-2013, at 6:06 PM, Jens-U. Mozdzen jmozd...@nde.ag wrote: Hi Joydeep, Zitat von Joydeep Bakshi joydeep.bak...@netzrezepte.de: [...] Thanks but without the leading slash it still fails to provide the redirection.

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Joydeep Bakshi
On 24-May-2013, at 6:23 PM, Jens-Uwe Mozdzen jmozd...@nde.ag wrote: Hi Joydeep, Zitat von Joydeep Bakshi joydeep.bak...@netzrezepte.de: On 24-May-2013, at 6:06 PM, Jens-U. Mozdzen jmozd...@nde.ag wrote: Hi Joydeep, Zitat von Joydeep Bakshi joydeep.bak...@netzrezepte.de: [...] Thanks

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Jens-U. Mozdzen
Hi Joydeep, Zitat von Joydeep Bakshi joydeep.bak...@netzrezepte.de: On 24-May-2013, at 6:23 PM, Jens-Uwe Mozdzen jmozd...@nde.ag wrote: Hi Joydeep, Zitat von Joydeep Bakshi joydeep.bak...@netzrezepte.de: On 24-May-2013, at 6:06 PM, Jens-U. Mozdzen jmozd...@nde.ag wrote: Hi Joydeep, Zitat

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Tom Evans
On Fri, May 24, 2013 at 2:03 PM, Joydeep Bakshi joydeep.bak...@netzrezepte.de wrote: It was level 5 and now I have set level 9. From log it seems that the pattern is blindly applied to every link rather than matching the query_string applying pattern '^ALP33211$' to uri 'index.php' applying

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Joydeep Bakshi
On 24-May-2013, at 6:46 PM, Tom Evans tevans...@googlemail.com wrote: On Fri, May 24, 2013 at 2:03 PM, Joydeep Bakshi joydeep.bak...@netzrezepte.de wrote: It was level 5 and now I have set level 9. From log it seems that the pattern is blindly applied to every link rather than matching the

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Eric Covener
The input isn't how you described it, right? On Fri, May 24, 2013 at 10:37 AM, Joydeep Bakshi joydeep.bak...@netzrezepte.de wrote: On 24-May-2013, at 6:46 PM, Tom Evans tevans...@googlemail.com wrote: On Fri, May 24, 2013 at 2:03 PM, Joydeep Bakshi joydeep.bak...@netzrezepte.de wrote: It

[users@httpd] htaccess priority

2013-04-12 Thread Ezequiel M. Cardinali
Hi Is there any way to priorize one .htaccess file to the others? I need to restrict users from a shared hosting server to change some configurations in the server. I cannot use AllowOverride, because I need to permit to use the Rewrites directives but not SetHandler and this directives are

Re: [users@httpd] htaccess file and computer names

2013-02-21 Thread Krist van Besien
On Tue, Feb 19, 2013 at 7:49 PM, Marc Fromm marc.fr...@wwu.edu wrote: I am using some htaccess files to control access to a few web pages. The htaccess file works if I use the ip address of the computer to grant access, but not its name. If you want apache to be able to grant access based on

[users@httpd] htaccess file and computer names

2013-02-19 Thread Marc Fromm
I am using some htaccess files to control access to a few web pages. The htaccess file works if I use the ip address of the computer to grant access, but not its name. Is there another setting to enable for Allow from computername.domain.name to work like using the ip address Allow from

Re: [users@httpd] htaccess file and computer names

2013-02-19 Thread Paul Norton
On 19 February 2013 18:49, Marc Fromm marc.fr...@wwu.edu wrote: I am using some htaccess files to control access to a few web pages. The htaccess file works if I use the ip address of the computer to grant access, but not its name. Is there another setting to enable for “Allow

Re: [users@httpd] htaccess file and computer names

2013-02-19 Thread Walter H.
Hello, DNS names won't work here; because the connection is made by an IP host, for this a reverse DNS request would be neccessary; the apache log files also also don't contain DNS names, just IP addresses; I wouldn't do this, because this decreases performance; Walter On 19.02.2013 19:49,

Re: [users@httpd] htaccess file and computer names

2013-02-19 Thread Mathijs Schmittmann
Op 19 feb. 2013 om 21:01 heeft Walter H. walte...@mathemainzel.info het volgende geschreven: Hello, DNS names won't work here; because the connection is made by an IP host, for this a reverse DNS request would be neccessary; the apache log files also also don't contain DNS names, just

Re: [users@httpd] Htaccess on in certain directories, but off in sub directories query

2013-01-25 Thread Igor Cicimov
Rwad about Satisfy any On 25/01/2013 12:46 AM, Brent Clark brentgclarkl...@gmail.com wrote: Good day I currently have .htaccess on by default in my apache config. As a result, if you do a strace, you see the following example. stat64(/var/www/vb/css/dhtml_**menu.css, {st_mode=S_IFREG|0644,

[users@httpd] Htaccess on in certain directories, but off in sub directories query

2013-01-24 Thread Brent Clark
Good day I currently have .htaccess on by default in my apache config. As a result, if you do a strace, you see the following example. stat64(/var/www/vb/css/dhtml_menu.css, {st_mode=S_IFREG|0644, st_size=10025, ...}) = 0 open(/var/www/.htaccess, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT

[users@httpd] .htaccess in subdir affects

2012-11-01 Thread MIZiper
Hi there, Assuming that the documentroot is ROOT and the domain is example.com. ROOT's hierarchy is:     ROOT/handle/     ROOT/handle/handle.php     ROOT/dir1/     ROOT/dir1/.htaccess     ROOT/dir1/some1.txt     ROOT/dir2/     ROOT/dir2/some2.txt     ROOT/.htaccess .htaccess in ROOT contains:

[users@httpd] htaccess file trouble

2012-11-01 Thread Marc Fromm
I have some .htaccess files in directories in /var/www/html which work great. I create an .htaccess file in /var/www/secure/html/phpPgAdmin/ but it is being ignored. I checked all the common mistakes like misspelled, syntax, and AllowOverride is set to All. I am using: httpd-2.2.6-1.fc6 (I know

Re: [users@httpd] htaccess file trouble

2012-11-01 Thread Ben Johnson
On 11/1/2012 4:31 PM, Marc Fromm wrote: I have some .htaccess files in directories in /var/www/html which work great. I create an .htaccess file in /var/www/secure/html/phpPgAdmin/ but it is being ignored. I checked all the common mistakes like misspelled, syntax, and

RE: [users@httpd] htaccess file trouble

2012-11-01 Thread Marc Fromm
AllowOverride set to All in the /etc/httpd/conf/httpd.conf file Is there a yum repository for this mod_info? Thanks -Original Message- From: Ben Johnson [mailto:b...@indietorrent.org] Sent: Thursday, November 01, 2012 1:44 PM To: users@httpd.apache.org Subject: Re: [users@httpd

RE: [users@httpd] htaccess file trouble

2012-11-01 Thread Marc Fromm
: [users@httpd] htaccess file trouble On 11/1/2012 4:31 PM, Marc Fromm wrote: I have some .htaccess files in directories in /var/www/html which work great. I create an .htaccess file in /var/www/secure/html/phpPgAdmin/ but it is being ignored. I checked all the common mistakes like

Re: [users@httpd] htaccess file trouble

2012-11-01 Thread Ben Johnson
, as 2.4 uses a different syntax. Good luck! -Ben -Original Message- From: Ben Johnson [mailto:b...@indietorrent.org] Sent: Thursday, November 01, 2012 1:44 PM To: users@httpd.apache.org Subject: Re: [users@httpd] htaccess file trouble On 11/1/2012 4:31 PM, Marc Fromm wrote: I have

[users@httpd] htaccess settings not working in combination with kerberos

2012-05-02 Thread Mark Jas
Hi!   I have a vhost configured to use kerberos authentication against a windows AD. Authentication works great, but some of the settings in the .htaccess file are not working.   My apache version is 2.2.15.   My files directive and my rewriterule have no effect at all, while my php_flag and

[users@httpd] htaccess file access

2012-05-01 Thread Chandler, Dean A
Hi, I have Apache Server version: Apache/2.4.1 (Unix) and am running into performance issues on my file system where access are slower than expected. I believe this is due to unexpected .htaccess file access from Apache server. I have turned off all checks for htaccess

Re: [users@httpd] htaccess file access

2012-05-01 Thread Nick Kew
On 1 May 2012, at 18:23, Chandler, Dean A wrote: Hi, I have Apache Server version: Apache/2.4.1 (Unix) and am running into performance issues on my file system where access are slower than expected. I believe this is due to unexpected .htaccess file access from Apache

Re: [users@httpd] .htaccess file outside of web space

2012-04-05 Thread Pete Houston
On Wed, Apr 04, 2012 at 11:26:29PM -0400, Phil Smith wrote: Am I interpreting what I'm seeing correctly or could I possibly have a configuration problem? You are interpreting it correctly, there's no configuration problem. This is the way that access files are applied as in the documentation.

[users@httpd] .htaccess file outside of web space

2012-04-04 Thread Phil Smith
I noticed that when I placed an .htaccess file outside of web space, the .htaccess file was respected by Apache. I found this surprising. Say DocumentRoot is /home/joe/public_html so that /home/joe is in a path leading to web space, but outside of web space. An .htaccess file: /home/joe/.htaccess

[users@httpd] htaccess

2012-03-14 Thread Nick Edwards
Hi, Just trying to clarify it is best to allow these in the virtualhost root on a per domain For instance at present we have Directory / AllowOverride None Options None Require all denied /Directory I know this is good :) But then we have Directory /var/www AllowOverride

Re: [users@httpd] htaccess

2012-03-14 Thread Anam Ali Khan
: Wednesday, 14 March 2012, 11:41 Subject: [users@httpd] htaccess Hi, Just trying to clarify it is best to allow these in the virtualhost root on a per domain For instance at present we have Directory /     AllowOverride None     Options None     Require all denied /Directory I know this is good

Re: [users@httpd] htaccess

2012-03-14 Thread Nick Edwards
On 3/15/12, Anam Ali Khan anamalik...@yahoo.com wrote: Yes, Apache access.htaccess only at that point where you inserted AllowOverride in the directory container. It also saves a little disk io load on web server :) -Anam Thanks for confirming my suspicions - busy day ahead :-

[users@httpd] .htaccess help - restricting access to certain REMOTE_host's and redirecting others to /index.html

2011-12-19 Thread Aaron Gray
Hi, I am really having problems understand and getting .htaccess mod_rewrite's to work. What I want is a site that rewrites any traffic that is not from a set number of REMOTE_HOST's or in a set of certain files to always be redirected to /index.html, whether they are in a subdirectory or

[users@httpd] htaccess: .com and .net shall go to .de

2011-11-08 Thread Lukas C. C. Hempel
Hi there, I have a problem with an htaccess file. I own three domains: example.com, example.de and example.net. They all refer to the same webhosting space (= alias domains). What I have succeeded in is that when I enter example.com or example.de it refers to www.example.de. I did that with

Re: [users@httpd] htaccess: .com and .net shall go to .de

2011-11-08 Thread Igor Cicimov
Are you using separate VirtualHost for each domain? If you are, and thats the way i would have done it, then just redirect the root / of those two VirtualHost to example.de On Nov 9, 2011 8:20 AM, Lukas C. C. Hempel lukas.hem...@me.com wrote: Hi there, I have a problem with an htaccess file.

Re: [users@httpd] htaccess: .com and .net shall go to .de

2011-11-08 Thread Lukas C. C. Hempel
Thanks for your promt reply. I am using the same virtualhost, i wanted to do a clean forwarding via the htaccess thing : ) Am 08.11.2011 um 22:51 schrieb Igor Cicimov: Are you using separate VirtualHost for each domain? If you are, and thats the way i would have done it, then just

Re: [users@httpd] htaccess: .com and .net shall go to .de

2011-11-08 Thread Igor Cicimov
Or you can use VirtualHost for example.de and put example.com and example.net as Alias... On Nov 9, 2011 8:51 AM, Igor Cicimov icici...@gmail.com wrote: Are you using separate VirtualHost for each domain? If you are, and thats the way i would have done it, then just redirect the root / of

Re: [users@httpd] htaccess: .com and .net shall go to .de

2011-11-08 Thread Lukas C. C. Hempel
yeah, but that would not forward www.example.com/test.php to www.example.de/test.php, does it? Am 08.11.2011 um 22:54 schrieb Igor Cicimov: Or you can use VirtualHost for example.de and put example.com and example.net as Alias... On Nov 9, 2011 8:51 AM, Igor Cicimov icici...@gmail.com

Re: [users@httpd] htaccess: .com and .net shall go to .de

2011-11-08 Thread Nick Tkach
On Tue, Nov 8, 2011 at 3:19 PM, Lukas C. C. Hempel lukas.hem...@me.com wrote: Hi there, I have a problem with an htaccess file. I own three domains: example.com, example.de and example.net. They all refer to the same webhosting space (= alias domains). What I have succeeded in is that

Re: [users@httpd] htaccess: .com and .net shall go to .de

2011-11-08 Thread Igor Cicimov
RewriteCond %{HTTP_HOST} example\.com$ [OR] RewriteCond %{HTTP_HOST} example\.net$ RewriteRule ^/$ www.example.de [blabla] Or even in one line maybe RewriteCond %{HTTP_HOST} example\.(com|net) the rest is same On Nov 9, 2011 8:56 AM, Lukas C. C. Hempel lukas.hem...@me.com wrote: yeah, but that

Re: [users@httpd] htaccess: .com and .net shall go to .de

2011-11-08 Thread Lukas C. C. Hempel
Thanks a bunch that helped me figuring it out : ) Best regards from Germany! Am 08.11.2011 um 23:06 schrieb Igor Cicimov: RewriteCond %{HTTP_HOST} example\.com$ [OR] RewriteCond %{HTTP_HOST} example\.net$ RewriteRule ^/$ www.example.de [blabla] Or even in one line maybe RewriteCond

[users@httpd] .htaccess issue in Wordpress?

2011-08-12 Thread Ganesh Viswanathan
I have a wordpress multi-site: site1.local.loc [with subdomains on my local] and I would like to have three pages on this. site1.local.loc/works - (posts page, but I want 'Works' as my title) site1.local.loc/about - (static page) site1.local.loc/contact - (static page) Since 'Works' is my

Re: [users@httpd] .htaccess issue in Wordpress?

2011-08-12 Thread Mark Montague
On August 12, 2011 6:54 , Ganesh Viswanathan gizz...@gmail.com wrote: I have a wordpress multi-site: You have posted your question to the Apache HTTP Server Users' mailing list. Unfortunately, your question has nothing to do with Apache HTTP Server as far as I can see, and so this is the

Re: [users@httpd] .htaccess issue in Wordpress?

2011-08-12 Thread Ganesh Viswanathan
After a lot of snooping, it is the .htaccess file or the conf file that is causing the problem. Apologies for sending in a doubt that is irrelevant, but if it still matters where do I take the faulty .htaccess file or the conf file? On Fri, Aug 12, 2011 at 7:44 PM, Mark Montague m...@catseye.org

[users@httpd] htaccess hell

2011-06-15 Thread Ian Zimmerman
I (or rather my distro) enabled userdir as follows: LoadModule userdir_module /usr/lib/apache2/modules/mod_userdir.so IfModule mod_userdir.c UserDir public_html UserDir disabled root Directory /home/*/public_html AllowOverride FileInfo AuthConfig Limit

Re: [users@httpd] htaccess hell

2011-06-15 Thread Jeroen Geilman
On 06/15/2011 08:56 PM, Ian Zimmerman wrote: I (or rather my distro) enabled userdir as follows: LoadModule userdir_module /usr/lib/apache2/modules/mod_userdir.so IfModule mod_userdir.c urgh UserDir public_html UserDir disabled root Directory /home/*/public_html

Re: [users@httpd] htaccess hell

2011-06-15 Thread Ian Zimmerman
On Wed, 15 Jun 2011 21:22:28 +0200 Jeroen Geilman jer...@adaptr.nl wrote: Ian UserDir public_html Ian UserDir disabled root Ian Ian Directory /home/*/public_html Ian AllowOverride FileInfo AuthConfig Limit Indexes Ian Options

Re: [users@httpd] .htaccess

2011-06-09 Thread dhottinger
Quoting Mark Montague m...@catseye.org: On June 8, 2011 15:50 , dhottin...@harrisonburg.k12.va.us wrote: I currently use .htaccess to prompt for username and password and point it to an ldap database running on my mailserver. Im considering moving all my mail accounts to gmail. Does

[users@httpd] .htaccess

2011-06-08 Thread dhottinger
I currently use .htaccess to prompt for username and password and point it to an ldap database running on my mailserver. Im considering moving all my mail accounts to gmail. Does anyone know if it is possible to authenticate with .htaccess pointing to gmail for info? thanks, ddh --

Re: [users@httpd] .htaccess

2011-06-08 Thread Jeroen Geilman
On 06/08/2011 09:50 PM, dhottin...@harrisonburg.k12.va.us wrote: I currently use .htaccess to prompt for username and password and point it to an ldap database running on my mailserver. Im considering moving all my mail accounts to gmail. Does anyone know if it is possible to authenticate

Re: [users@httpd] .htaccess

2011-06-08 Thread Mark Montague
On June 8, 2011 15:50 , dhottin...@harrisonburg.k12.va.us wrote: I currently use .htaccess to prompt for username and password and point it to an ldap database running on my mailserver. Im considering moving all my mail accounts to gmail. Does anyone know if it is possible to authenticate

Re: [users@httpd] .htaccess

2011-06-08 Thread Nick Kew
On 8 Jun 2011, at 21:01, Jeroen Geilman wrote: On 06/08/2011 09:50 PM, dhottin...@harrisonburg.k12.va.us wrote: I currently use .htaccess to prompt for username and password and point it to an ldap database running on my mailserver. Im considering moving all my mail accounts to gmail.

[users@httpd] Htaccess Help

2011-04-26 Thread Matt
I have an .htaccess file like so. order allow,deny allow from x.x.x.0/24 I have this in my root html directory and it works fine. Only allows access by the x.x.x.0/24 subnet. Thing is I have one file ~siteinfo.html that I want to allow anyone to access. How would I do that?

Re: [users@httpd] Htaccess Help

2011-04-26 Thread Eric Covener
On Tue, Apr 26, 2011 at 12:56 PM, Matt lm7...@gmail.com wrote: I have an .htaccess file like so. order allow,deny allow from x.x.x.0/24 I have this in my root html directory and it works fine.  Only allows access by the x.x.x.0/24 subnet.  Thing is I have one file ~siteinfo.html that I

Re: [users@httpd] Htaccess Help

2011-04-26 Thread Matt
Files siteinfo.html allow from all /Files So would it be: order allow,deny allow from x.x.x.0/24 Files siteinfo.html allow from all /Files Or does it matter which comes first? - The official User-To-User support forum of

[users@httpd] htaccess is blocking cookie transmission

2011-03-07 Thread Tim Johnson
I have an internal site at the following file path: /home/http/kbmls/ and since /home/http is the document root, the site is referenced as follows: http://bart.johnson.com/kbmls. bart.johnson.com is my internal domain (locally resolved host). The default page is kbmlsLoader.py, which is symlinked

RE: [users@httpd] htaccess help

2005-07-04 Thread Boyle Owen
-Original Message- From: Michael [mailto:[EMAIL PROTECTED] Sent: Freitag, 1. Juli 2005 16:58 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] htaccess help My www root is /www/html.Then I have only one .htaccess and its in /www/html/admin. There is bunch of subfolders

RE: [users@httpd] htaccess help

2005-07-01 Thread Boyle Owen
Plain text please... Couple of possibilities: - you have a wrong username/password: If you get it wrong the browser will pop up the window again ad infinitum. Check carefully and remember case is important (in fact, create a new account in the password file with user=aaa and password=aaa -

Re: [users@httpd] htaccess help

2005-07-01 Thread Michael
The apache ver i have is Apache 2.0.40 runing on Red Hat 9.2. I wasnt clear enough my bad. I type in the address of the folder i want to protect in the browser. Then the wuthentication window pops up. I enter the user and passwd info hit OK and more than half of the page loads up and

RE: [users@httpd] htaccess help

2005-07-01 Thread Boyle Owen
-Original Message- From: Michael [mailto:[EMAIL PROTECTED] Sent: Freitag, 1. Juli 2005 15:28 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] htaccess help The apache ver i have is Apache 2.0.40 runing on Red Hat 9.2. I wasnt clear enough my bad. I type in the address

  1   2   >