OpenSUSE :: Enable .htaccess In A Folder?

Aug 5, 2009

in /srv/www/htdocs/tale i have a .htaccess how to enable it? i don't changed anything in

Code:
/etc/apache2/httpd.conf
/etc/apache2/default-server.conf

View 9 Replies


ADVERTISEMENT

Ubuntu :: Htaccess - Default File In Sites-available Folder?

Apr 27, 2011

I couldn't help but notice that there are some lines in the default file that resemble those that should be in a htaccess file.

AllowOverride None Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

[Code]...

If I am running multiple virtual hosts, what happens to the default file? When I put my ip into a browser "http://ip.ip.ip.ip" I get a forbidden message. but all URLs point to where they are supposed to... Maybe its because I don't have an index file in the www folder.. (not at the machine, will try it later to see what happens).

View 1 Replies View Related

Server :: Apache - Redirect Through A .htaccess File In My Root Folder

Feb 2, 2011

I need to redirect through a .htaccess file in my root folder. The redirect needs to be done from http://www.department.univeristy.edu/reuir to a different server [url]. I am having trouble in determining the pattern that is required for it to take effect.

View 2 Replies View Related

Security :: Created A .htaccess File In The Folder And Added AuthType Basic?

Jan 26, 2010

I have a folder on my server i want to protect with http authentication but i have problem. i created a password htpasswd -c .htpasswd razzera

then i created a .htaccess file in the folder and added
AuthType Basic
AuthName "Restricted Files"
# (Following line optional)
AuthBasicProvider file
AuthUserFile /.htpasswd
Require user razzera

but when i go tho the folder it wont request any login details. why ??

View 6 Replies View Related

Ubuntu Security :: Enable Encryption Of Home Folder Post Install?

Jul 1, 2010

I was wondering how to activate encryption on my home folder, like sugested when creating the first user? in 10.04Also, is it any good to use?It's a work computer with sometimes private documents (cv, docs, etc) and i would like to be sure no one can access it, even as root.

View 3 Replies View Related

Ubuntu :: Deluge WebUI Enable / Re-enable Subsequently Unable To Re-enable It (doesn't Appear In The Side Panel Again)?

Feb 10, 2010

I recently installed Deluge 1.2.0 from the following PPA:[URL]I using this on two different Linux computers. One is running Linux Mint 8 and the other is running Ubuntu Netbook Remix 9.10. The first time on either computer when I enable WebUI in the Deluge GUI it works fine. However if I ever disable it in plugins section I am subsequently unable to re-enable it (doesn't appear in the side panel again). Rebooting or reinstalling Deluge seems to have no effect.Is this a bug or am I doing something wrong?

View 3 Replies View Related

OpenSUSE :: Folder View Appl. Showing Desktop Folder - How To Add Icons

Jan 21, 2010

I have the Folder View applet on the Desktop viewing the Desktop Folder "~/Desktop"

Some shortcuts are outdated because of new installation of opensuse 11.2...

How can I add icons there in?

I can add icons to the Desktop and Taskbar but no in this Folder View on the Desktop (BTW: Is this Panel called "Folder View applet"?)

If I try to move a icon from Desktop to this Panel it is not moved in this panel it is placed behind this Panel...

And how can I get more than one of this panels for example one displays the Desktop folder other the home dir ...

View 7 Replies View Related

OpenSUSE :: The Web Application Uses A .htaccess File That Causes Site To Error With Error "403 Forbidden"?

Jun 21, 2011

I have a web application that runs on PHP and MySQL on opensuse 11.4 (web server) and opensuse 11.1 (database server).The web application uses a .htaccess file that causes my site to error with error "403 forbidden". If I add "+FollowSymLinks" at the top, it loads the application just fine.But problem is that I have an issue with the application, and they believe that my .htaccess file is at fault since it's custom. I hightly doubt it but wanted to eliminate that as a concern.

View 1 Replies View Related

General :: .htaccess RewriteRule Map URL To Another

Apr 18, 2010

I've developed a web program and let say the main url is [URL]

I will be distributing different URLs for different customers and each customer will have their down database. Let say the URLs will be:

[URL]

because i be using single instance for my program, both this URLs will be pointing to the base code at http://domain.com. depending on whether is customer1 or customer2, the program configuration will extract from the respective database.

my question is, how do i use mod_rewrite to map the different urls to the main url with transparency. meaning, although each customer will see domain.com/customer1, this is actually pointing to the main base code at domain.com which has a config file to pick out the respective database.

I've managed to do it with alias in httpd.conf. e.g:

alias /user1 /var/www/html/myproject
alias /user2 /var/www/html/myproject

however, if i were to do this, i would have to restart apache every time i've got a new user. so i've decided to use .htaccess instead but realised that alias is not availble for it.

I've tried with rewriterule but with no success.

View 1 Replies View Related

Debian :: .htaccess And Wordpress Getting 404 Error

May 17, 2010

I run Debian 5.4 with ISP Manager as CP. I put a .htaccess in the root directory of my wordpress blog. The content of the .htaccess is:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f

[Code]....

But after I created a static page and change permalinks in wordpress with anything other than standard I get a browser 404 error (not 404 error with template).
Location of the blog content that is shown in CP: /var/www/sorin/data/sitename.ro Only the index of the blog is loading. What can I do? I have Debian up-to-date.

View 1 Replies View Related

Ubuntu :: .htaccess Disappear After Unzipping?

Jun 30, 2010

I downlload a zip file which has a .htaccess file.

When I unzip it, the .htaccess disappears.

How can I prevent this happens?

View 3 Replies View Related

Ubuntu Servers :: New Domain Same Box Htaccess?

Sep 1, 2011

I am changing domain name for web, web is staying on same IP / ServerI want www.OLD.com to redirect (change address name in browser) to at the moment both point to same IP..am not sure why but this .htaccess is not working.

Code:
#Options +FollowSymLinks
RewriteEngine on

[code]....

View 1 Replies View Related

General :: .htaccess To Redirect All Requests To Another URL?

Apr 16, 2010

I would like to setup .htaccess to redirect every request to one website regardless of folder/filename combination to another URL.For example[URL]

View 1 Replies View Related

Server :: Apache Htaccess Redirect

Jul 23, 2009

I want to give a 404 error when the index.html file is requested, i already know how to do this in php, but i cant seem to locate any information about how to do it in htaccess. I thought about just redirecting index.html to a page that dose not exist, but i would like to do it correctly from the start.

View 2 Replies View Related

Server :: .htaccess And .htpasswd Not Working?

Feb 27, 2011

I have created a sub directory on my box on a website for my company. It is a page that has links to my tools I want to use when I do service calls. Links that connect to my servers webmin etc. Of course I don't want them found by webcrawling bots. I have created a .htpasswd file using htpasswd -c /location/to/file/.htpasswd.

This file is located outside the web. Just under the public_html folder. Then I went to the sub directory I want to protect and added a text file named .htaccess. It contains:

/home/sites/www.domain.net/tech/
AuthType Basic
AuthName "Some long name"
AuthUserFile /home/sites/www.domain.net/.htpasswd
Require valid-user
ErrorDocument errornumber /home/sites/errorpages/403.html

I also opened the httpd.conf and changed AllowedOverride to All

The error document doesn't work either.

I then restarted the httpd service. I try to access the site and it lets me right in without asking for a password. It is apache 2xxx on Centos 4.5. Webmin under Apache confifirms all this.

View 12 Replies View Related

Server :: Mod_rewrite Htaccess Not Working?

Nov 25, 2010

I want to use rewite module to change my site url from site/index.php to site/cat/ for example I have created .htaccess file in the directory where the file is and add to it:

Code:

RewriteEngine on
Rwerite ^cat$ /site/index.php

Here site is not my site, it just in example. I have rewrite.load in the loading list of modules and I can see it loads in phpinfo(). AllowOverride is set to All for the current site, but no redirect is made on site/cat

View 2 Replies View Related

Server :: Securing Wordpress With Htaccess ?

May 16, 2011

I have a blog on my site and am using htaccess rewrite rules to block all those nasty scripts from trying to execute various things mostly relating to phpmyadmin and wordpress. This has reduced my httpd error logs to less than half from before.

Am trying to come up with a rule to rewrite all calls to certain files if they are not originating from my domain, here is how it looks right now but it's not working as I can see scripts trying to hit "wp-comments-post.php" getting a 500 Internal Server Error.

View 2 Replies View Related

Software :: Make A Url Redirect In The .htaccess?

Aug 4, 2010

I would like to make a url redirect in the .htaccess. I wonder where to find it and how to use it

View 1 Replies View Related

CentOS 5 Server :: Htaccess Be Used Under SSL Mode?

Dec 4, 2010

I create and edit .htaccess file under /var/www/html/ directory, everything goes well as expected.
The corresponding snippet of /etc/httpd/conf/httpd.conf:

AccessFileName .htaccess
<VirtualHost *:80>
DocumentRoot /var/www/html/
ServerName www.abc.com
<Directory /var/www/html/>
AllowOverride AuthConfig

[Code]...

View 5 Replies View Related

CentOS 5 Server :: Htaccess Not Working In 5.5

Feb 22, 2011

I have searched high and low both on this website and the big G and nothing.I have a VPS with fresh CentOS 5.5 install and can't seem to get the server to act on the htaccess file.

View 1 Replies View Related

Debian :: Enabling HTAccess In Apache2 For Lenny

Aug 25, 2011

My distro is Lenny. I am struggling with trying to enable .htaccess files. I followed a ubuntu tutorial that did not work at all. How do I enable .htaccess files in all apache2 directories for Debian 5.0 Lenny?

View 1 Replies View Related

Fedora Servers :: Usage Of The .htaccess File?

Dec 16, 2010

Is anyone here fluent with the usage of the .htaccess file? Is it the way to go to deter search bots or is there a better method? Never mind. I already have a thread about .htaccess here.

View 1 Replies View Related

Ubuntu Servers :: Apache2 - HTAccess Will Not Work

Feb 9, 2010

I'm a newb when it comes to linux operating systems so I'm attempting to get better through experience. I work for a web development company and we use Ubuntu for our operating systems (the programmers at least). Anyways, I'm trying to install LAMP services and get them working. I have all L.A.M.P. services installed... but Apache2 is giving me a problem. I have an .htaccess file installed in a directory under my document root. But Apache2 is not interpreting it. I have AllowOverride All on but I can't figure it out. I did make a bogus .htaccess file attempting to make apache give me a error, nothing.

View 2 Replies View Related

Ubuntu Servers :: Htaccess Won't Secure A Directory

Nov 22, 2010

I installed AWSTATS on my LAMP 10.04 LTS and followed several tutorials URL...) but I can't secure the folder, either by an alias or by .htaccess. I tried both methods manually and by using Webmin.If you go to the URL www.mywebsite/awstats/awstats.pl it shows up, which is good, but this is the default installation site and anyone who knows awstats could possibly see my stats. The conf folder is /etc/awstats/, and I did an alias for that, then .htacess, but neither worked. With the .htaccess, I would get a password promt but the full stats page was visible behind the password promt, and if you clicked "Cancel" about 20 times or so the promt would go away and the full stats page would be visible.

The actual file that powers awstats is in /usr/share/lib/cgi-bin/awstats.pl, and I also tried an Alias and .htaccess seperately and neither worked.I restarted apache2 after each change and I've searched several forums, but I still can't figure this out.

View 2 Replies View Related

Ubuntu Servers :: .htaccess File Keep Getting Deleted?

Jan 27, 2011

I am running into a very strange problem where my my .htaccess file keep getting deleted.Attempted scenarios ftp upload file.txt rename to .htaccess ftp upload .htaccess ssh - wget url/.htaccess ssh - wget url/htaccess.txt, rename to .htaccess

[Code]...

View 7 Replies View Related

Ubuntu Security :: Htaccess Doesn't Seem To Work?

Jan 30, 2011

I can't seem to get htaccess to work.I've created a .htpasswd file like so:

Code:
htpasswd -c -m .htpasswd user
Then it prompts me for a password for that user. I put the password file one dir above my

[code]....

View 6 Replies View Related

Ubuntu :: .htaccess Ip Restriction Doesn't Work On EC2?

Jul 7, 2011

I just launched an instance on EC2, and everything seems work except the IP restriction by .htaccess. My .htaccess is only:

Order deny,allow
Deny from all
Allow from 88.246.163.6

And it doesn't restrict access.. What am i missing?

View 3 Replies View Related

General :: Configuring Htaccess/htpasswd For Subfolders Only?

Dec 16, 2010

I have scripts in folders /opt/apache2/tools/ and also i have another folder called IDM under /opt/apache2/tools. i tried to configure htpasswd for just IDM folder only as below.

bash-3.00# pwd
/opt/apache2/tools
bash-3.00# ls -al

[code]...

View 12 Replies View Related

Server :: Blocking Bad Bots & HTACCESS Optimization?

Nov 7, 2010

My Pastebin for .HTACCESSIf you can offer any tips on improvements..but the main reason: I cannot get the bots to stop showing up.Esp the first one in the list.I need to block these two specifically

Code:
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
&

[code]....

View 5 Replies View Related

Server :: Setup A Apache Htaccess Redirect?

Jul 7, 2010

Stay I have a url to view files, e.g.

[URL]

How do I setup a apache htaccess redirect so I can use a static url like:

[URL]

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved