similar to: .htaccess

Displaying 20 results from an estimated 20000 matches similar to: ".htaccess"

2007 Jul 17
3
.htaccess problems..... Using Drupal
Hi All; I am trying out the web software from www.drupal.org and I have it Installed to a point ok in my www.werren.net domains. Every time I try to use the .htaccess file in the root directory With even one command showing I get a server mis-config error on the site. The default .htaccess is shown below I use Cent OS 4.7 using the Blue Quartz installer from Nuonce Networks
2006 Aug 13
3
Rewrite problem or routing issue?
I''m not able to access anything in public, everything seems to be going through the rails router. As a result, I can''t get to stylesheets or javascript. I''m not quite clear if this is a .htaccess problem, or a router problem. I eliminated the "catchall" route, so the last route is map.connect '':controller/:action/:id'' My .htaccess file
2008 Oct 06
8
.htaccess rewrite
can someone help me with an .htaccess rewrite? i''m trying to convert all requests to "/?spot=8888" to be "/locations/ 888". thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2006 Apr 14
3
Rails deployment
Hi all, I''ve greated a rails application and i want to deploy it right now. I have to use a windows 2003 server.. So i installed i''ve used the following tutorial: http://wiki.rubyonrails.com/rails/pages/RailsOnWindows My application is running at : http://loc.iwsweb.nl But everytime i connect it opens a ruby process but at the end it won''t kill it. As you can see
2006 Aug 05
3
Apache 2.2 + Mod Proxy Balancer + Mongrel - Hot Linking Protection?
Hey guys, Ok, basically I coded a ruby on rails CMS to manage a bunch of media files. I am finding that a lot of people are "hot linking" to these media files and would like to prevent this to save bandwidth. Usually in the past, it hasn''t been a problem, I would add something like the following to my .htaccess file RewriteEngine on RewriteCond %{HTTP_REFERER} !^$
2007 Dec 29
2
Cent os 4 .htaccess file not working mod_rewrite enable - how can I test "help"
Hello, Spend hours attempting to password protect a web directory- mod_rewrite enabled on httpd.conf file. Seek ideas please Stephen Stephen Goldman System Administrator MIT Biology sgoldman at mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 16
4
Lost while trying to deploy rails app on apache
I need to graft some rails apps onto a website running apache 1.3 and I must be missing something very obvious because I cannot get things working properly. Here is what I need: 1) The server must be running apache 1.3. A very large body of PHP content is currently vended by the server through 5 vhosts and I have neither the time nor resources to replace apache1 with apache2 or lighttpd. Maybe
2006 Feb 06
3
rails + apache question
Hi all, I''ve read the symlinks wiki and some other wiki pages relating to Apache but I''m just not "getting it". Mandrake Linux (kernel 2.6.8) Apache 1.3.3 DocumentRoot is "/home/httpd/html" Application is physically located in "/home/httpd/applications/foo-1.0.0" I would like the URL to be "http://host.domain.com/foo" I''ve
2008 Jun 04
2
mod_rewrite issue
I'm installing Drupal 6.2 in the document root of a CentOS 5 install using httpd-2.2.3-11.el5_1. I'm using a virtual host entry with the following rewrite rule to enable "clean" URLs: RewriteRule ^(.*)$ index.php?q=$1 [R,L,QSA] This works fine expect the user still sees the "ugly" URL in the address bar. However, if I remove the R, it breaks completely. Any clues? I
2005 Oct 10
1
Need help from Apache mod_rewrite crew !
Hi ! Has anyone got any tips/tricks on running a Productized Rails app on DreamHost ? Specifically, I get this in my error.log: ----------- [Mon Oct 10 11:39:46 2005] [error] [client 69.70.225.69] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use ''RewriteOptions MaxRedirects'' to increase the limit if neccessary. ----------- As
2005 Dec 29
2
Problem with apache and rubyonrails
I am setting up my httpd.conf file so I can secure a site create in RubyonRails. The problem that I am having is: File does not exist: /usr/home/mhale/hieraki-1.0.2/public/frontpage/index File does not exist: /usr/home/mhale/hieraki-1.0.2/public/frontpage/index File does not exist: /usr/home/mhale/hieraki-1.0.2/public/frontpage/index So apache is reading "frontpage/index" as a
2016 May 28
2
CentOS 6.8 Apache-2.2.15-53 re-write question
On 05/28/2016 01:35 PM, Alexander Dalloz wrote: > Am 28.05.2016 um 21:03 schrieb Paul R. Ganci: >> Starting httpd: Syntax error on line 31 of >> /etc/httpd/conf.d/olddomain.conf: >> RewriteCond: bad argument line '%{REQUEST_URI}!^/test/ > > You missed a whitespace between the server variable %{REUQEST_URI} and > the value you test against. In both cases you did.
2008 May 09
2
Apache Redirects...
I'm trying to require SSL for drupal login and admin pages and it seems that this should work but it doesn't redirect if added to httpd.conf or to .htaccess (I've tried both) RewriteCond %{REQUEST_URI} ^/(user|admin) RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [L,R] Shouldn't this be enough so that the URL...(googling suggests that it is) http://cms.tobyhouse.com/user/login
2007 Dec 21
2
config Rails .htaccess
Hello, newbie here please help I have developed my Rails site under www.mydomain.com/home Now I want to map it to use www.mydomain.com, what should i change to this .htaccess file =============== Content of my .htaccess file under public directory ============ # General Apache options AddHandler fastcgi-script .fcgi AddHandler cgi-script .cgi Options +FollowSymLinks +ExecCGI # If you
2006 Feb 22
1
Urgent help needed
Hi, I''m on Apache 2.0.54, Linux Fedora Core 2 with Plesk. I installed a Rails application previously on the box using SCGI and it works fine; even now. I''m trying to get a second app online and it fails. Same config, except for the SCGI runner ports of course. It looks like the error comes from the fact that the mod_rewrite loops. WHY ??? BTW : I have to put this app
2009 Aug 18
1
httpd .htaccess rewrite for images
Hello, I'm running httpd on a Centos 5.3 machine. I'm trying to use .htaccess to disable direct linking to site images. I've got the following rewrite rule, the domain is test.example.com which is at /var/www/test.example.com under which is a directory called images. RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(test\.)?example.com/.*$ [NC]
2006 Feb 14
5
problem with apache
Hi! I don''t know much about linux and apache configuration, so we''re using cpanel on our server to manage accounts etc. I was trying to install ror (according to this page: http://wiki.rubyonrails.org/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel) on our server, but it didn''t worked. If i enter "server.com/rails" i get "/testapp/index.html was not
2016 May 28
5
CentOS 6.8 Apache-2.2.15-53 re-write question
I was wondering if somebody could help me with an Apache re-write rule. Apparently CentOS 6.8 is running apache-2.2.15-53. I am trying to redirect all pages except for two pages. The apache rewrite directives in the httpd config are: RewriteEngine on RewriteCond %{REQUEST_URI}!^/test/ RewriteCond %{REQUEST_URI}!^/my-folder/ RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] These commands
2016 Aug 28
6
.htaccess file
Hello, My home system on a DSL line is getting worn out by bad behavior robots. Awhile back, I created a .htaccess file that block countries by IP blocks. Its 2MB in size. I have been running Linux since Slackware 1.0 and moved to Redhat around 2.0. I started after running a BBS using a doorway for newsgroups. Been hooked ever since. So, today, I tried following the directions for
2008 Apr 18
2
Can't get .htaccess to work
Hi, I'm trying to password protect one of my web accessable directories and I can't get .htaccess to work in a Centos 5.1 box Here's what I did I created an .htaccess file with the contents: AuthName "Restricted Area" AuthType Basic AuthUserFile /home/mysite/.htpasswd AuthGroupFile /dev/null require valid-user and I uploaded it to the dir I want to protect. Then I