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


ADVERTISEMENT

Ubuntu :: Multiple SSL Certificates In The Default-ssl File In /etc/apache2/sites-available/ Folder?

Aug 16, 2011

How can I allow multiple SSL certificates in the default-ssl file in /etc/apache2/sites-available/ folder? I tried

Code:
NameVirtualHost *:443
And
Code:
<VirtualHost *:443>
but I get the error

[Code]...

View 2 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

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 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 Servers :: Unable To Check Htaccess File

Mar 10, 2010

I looked at my apache2 logs. Code:[Wed Mar 10 01:56:34 2010] [crit] [client 192.168.1.100] (13)Permission denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable the server is located at /etc/apache2 the default place.

View 1 Replies View Related

Ubuntu :: Set Up Custom Error Messages Using An .htaccess File

Dec 10, 2010

we're running Apache/2.2.11 (Ubuntu) and trying to set up custom error messages using an .htaccess file that looks like this

[Code]...

When I save this to var/www/ it has no effect (tested on another server but using a shared hosting package it works fine).

View 4 Replies View Related

General :: Renaming Folder Which Is Default Folder For FTP Account

Feb 10, 2011

I have an FTP account that when they log in they go to /var/ftp/uploads according to etc/passwd.I want to temporarily stop the uploads from coming in, but don't want to change the password on that account. If I rename the uploads folder to something else, what will happen when they go to log in since the /var/ftp/uploads path is no longer valid?

View 6 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

Server :: Unhide Directory With .htaccess File

Jun 15, 2011

I am using Apache with Kerberos security enabled. The http page simply lists the directories contained in /var/www/html. I want to make only one of the directories in the document root secured so that when someone clicks on it, it requires him/her to enter credentials. Right now when I place the .htaccess file in the directory I want to protect, the directory is hidden from the list and the user has to enter the whole path to get authenticated and access the files.

I've tried Options +Indexes which was posted all over the net, but it didn't work.

View 3 Replies View Related

Networking :: .htaccess And Forced Download Of Certain File Types?

Jun 10, 2009

I tried to force download of certain file types - pdf,doc,jpg - instead of opening them in applications. I used AddType application/octet-stream .pdf and AddType application/force-download .pdf but it doesnt works. Has anybody an idea how to solve this problem?

View 1 Replies View Related

Server :: HTAccess File - Integrating Nagios Into Portal Written In PHP

Mar 16, 2010

In my nagios server, an htaccess file have been created for it so any time you want to open it, a window opens for you to enter user name and passwords. Now, what I want to do now is to integrate the nagios into a portal that is written in php so that when customers login to the portal, they can access the nagios with out it popping out the user and password windows. What is going to happen is, the password of nagios will be store in an orient database so the users when they try to access nagios true the portal, they will be login automatically.

View 1 Replies View Related

Software :: Looking For Web App With Htaccess Management / Download Counter / File Manager

Jan 13, 2010

I would like to share some files with my customers. I would like to be able to give them different passwords with different rights. I would like to know which customers have downloaded the files, how many times and from wich ip. I would like to let the customer download a file just a number of times.(optional) I would like to be able to upload from web (optional) And with a polite presentation to the customer.Does it exists? Yes. I'm asking for something better and I hope somebody used it and is still happy with it.

View 2 Replies View Related

Software :: Write Access In .htaccess File On Hosted Server?

Apr 23, 2011

I have a site hosted on a cheap hosting company and I need to allow write access to certain users in certain directories, sometimes on a file basis.

Q: how do I do that in a .htaccess file?

I have never used .htaccess although from what I read it looks straightforward but when I try it, I get a "500 server error" even with the example .htaccess file the hosting company suggested I use. (I have informed the host as they require and am awaiting their answer)

The site is automatically set up with a couple of dot file in the root directory when I got it, they are:

.htaccess file
AuthType Basic
AuthUserFile "/home/mydomain/www/www/.htpasswd"
AuthName Limited!
require valid-user

Q: Is there in this something overriding my .htaccess in a bad way? (googling for AuthName shed no light on my problem)

.htpasswd
mydomain:$apr1$vcPc9...$kz4vmtvfznKfFmHktN0CI0
Bill:$apr1$C.FLI...$KmvqrHFt6i/.rMhfREtRV0

I added the user Bill, apparently successfully, the first line and .htaccess were set up by the host.

View 2 Replies View Related

General :: Pcfg_openfile - Unable To Check Htaccess File - Ensure It Is Readable

Jul 8, 2010

After moving a website folder on my local development machine to another drive, then moving it back, I got a 403 error. Most of this problem had probably to do with rights that got messed up. After deleting the code and restoring it from SVN, the rights seemed allright. The error stayed however.

The setup is a bit complex, as follows:

I have Ubuntu 10.4 as development machine, trying to mimic the server as much as possible We use Eclipse + SVN and I create all projects in a local folder under my user account In /var/www-vhosts I create folders for each vhost, like this one: test.localhost test.local/index.php: includes the index file of the project
test.local/.htaccess is a dynamic link to the htaccess file in a project subfolder

I get the following error in the apache error log:

The problem seems to be the .htaccess file, or the link to it. When I empty the htaccess, nothing changes When I remove the link, the index-include produces some output (in the apache error log) When I remove the link and replace it with the actual file, I get another error:

View 1 Replies View Related

Programming :: Apache Redirect - Core SEF URLs On - Using Htaccess.txt File That Came With Joomla

Apr 7, 2009

I have recently merged two Joomla 1.0 sites I ran into one. I imported the articles I wanted to keep to the new site, and I have the old site's domain pointing as an alias at the new site. The new site is www.theouthousers.com . The old site was www.bludblood.com .

I also have the core SEF URLs on, using the htaccess.txt file that came with Joomla.

I have one writer for the old site who linked to his articles in various places, so I am trying to set up redirects for him so that he doesn't have to change all of his links.

For instance, I need something like:

http://www.bludblood.com/joomla/inde...d=25&Itemid=51

To redirect to the equivalent location on the new site:

[url]

And I also need specific links like:

[url]

To redirect to their new counterparts:

[url]

Keeping in mind that www.bludblood.com is now an alias of www.theouthousers.com, is there any way to do this? I have been trying with rewrite rules and redirects, and cannot seem to achieve the desired effect.

Tried various versions of:

Code:
Redirect [url] [url]

With the http, without, as regexps, as 301s, as permanents, etc, and it just will not work. Also tried as RewriteRule.

View 2 Replies View Related

Ubuntu Security :: Some Sites Blocked - Accessing Some Sites - Amazon Paypal And Bigstockphoto Really Slow

Feb 9, 2011

In the past week or so I've noticed some weird network behaviour. I find accessing some sites such as Amazon, Paypal, and Bigstockphoto really slow. Sometimes the page will not load at all. Other sites are fine. The problem sites are not a problem for others on my LAN at home. When I try to open the problem sites, I can see in Firestarter blocked connections coming from 2.1(8/9).xxx.xxx on various ports such as 36007. This only happens for the problem sites. I attached a typical output from firestarter.

This happens with Firfeox or Chrome. Using Ubuntu 10.10

View 4 Replies View Related

Ubuntu :: Firefox Hangs When Uploading To File Hosting Sites

Mar 11, 2010

I am using ubuntu karmic koala and i have firefox web browser. Whenever I try to upload files in some file hosting sites, my firefox web browser hangs. I think the file hosting site is using some kind of uploader that requires java/javascript.

View 4 Replies View Related

Ubuntu :: Kde 4.5 - Move A File Or Folder Into Another Folder, All The Icons Arrange Back To The Left Side

Sep 14, 2010

When I position icons on the desktop in specific places, then I choose to move a file or folder into another folder, all the icons arrange back to the left side. This happened in an earlier version of KDE 4.x, disappeared the next version, and reappeared. how to keep this from happening. It makes using the desktop a pain in the you know what.

View 2 Replies View Related

Ubuntu :: Drag File/Folder To Taskbar Button Creates Launcher, Not Bring Folder To Foreground?

May 20, 2011

After upgrading to 11.04, I noticed something strange, being that when I want to drag a file or folder from one Nautilus folder window to another which is not visible, I can no longer hold the item over said folder's taskbar button and wait for it to appear. It just shows the + for copy, and when I let go (which I have no choice but to eventually do), it creates a launcher to that item (I assume it's doing that, and not actually copying there, but the + has me unsure).

I've looked in Nautilus's preferences to see if this is some new behaviour that I can revert back to, but could find nothing there.

I'm of course using the Classic desktop with bottom panel being the taskbar. If you know how I can rectify this, please let me know, as the times I would want to create a file or folder launcher without the usual hassle would be rare, but I am constantly dragging stuff from one folder to another, and it would be a real pain to have to line up source and destination folders each time.

View 4 Replies View Related

Debian :: Auto Download From File Sharing Sites (i.e. Rapidshare)?

Feb 24, 2011

I've been searching this forum and the rest of the web for days now for a good software for a CLI Debian installation that will take links to file sharing sites such as Rapidshare, Megaupload, Uploading, DepositFiles etc and download them when possible (wait for timer to run out and so on).The only thing i've found so far is Slimrat but i dont seem to get it working with WWW::Mechanize even after trying to update it through CPAN

View 9 Replies View Related

Debian :: Create Folder From Filename And Move File Into Folder

Feb 13, 2011

this is posable but am trying to do this "Create folder from a filename and move the file into the folder" i have 500000+ file's i need to do with is there a easy way?I really don't want to download them all make/move them with filemonkey just to re-upload them

View 2 Replies View Related

Software :: Build File Or Folder Missing In Modules Folder

Apr 14, 2009

i am trying to install a driver for my belkin wireless usb adapter but when i type make it says cannot find lib/modules/<debian version>/build so it does not configure the sources.

View 1 Replies View Related

Software :: Copy A File Or Folder In Some System Folder?

Dec 1, 2010

When i want copy a file or folder in some system folder like sbin,Etc.show me error about privilage but when I'm in console i use su command for become admin and i can copy my file or folder.in other operation system like windows user can copy anything,i want know for direct copy my folder in linux without console what should i do? i must join my user name in root group?

View 4 Replies View Related

Ubuntu :: How To Restore Default Folder Icon

Jul 10, 2010

Because Remastersys has a size limit for its backups, I exclude the Pictures folder. Therefore, when I do a restore, there is no pictures folder; when I create one, it gets the generic folder icon, rather than the folder icon that is normally associated with the Pictures folder. I know that through properties I can replace the folder icon with anything, but I have not been able to find where the generic pictures folder icon is stored. If I choose a specific icon, and change the icon theme, the custom icon remains. Further, when I make a bookmark for the new Pictures folder, it gets the generic folder icon, no matter what icon is assigned to the Pictures folder. There must be a way to restore the generic Pictures folder icon, so that it changes with the icon theme.

View 9 Replies View Related

Ubuntu :: Default Home Folder Location?

Jul 11, 2010

I was just wondering , when you create a new user , where are the files that make it ? , like the "default" home folder?

View 7 Replies View Related

Ubuntu :: Change Just One Folder To Default To 775 Perms Instead Of 755?

Sep 12, 2010

I want multiple users to have full reign to. As a result, this share is already set up with the gid being set, so any files/folders that get written to it are automatically assigned the group "share", to which the users in question are members of this group "share."

The problem is, if Bob creates something, it comes down as bob:share with 755 perms, so Fred cannot write/delete. What it optimal is having 775 perms, but it's hard for an administrator to continually do this over and over when it'd be nice to just automatically set the perms on the fly to 775. How can I change just one folder to default to 775 perms instead of 755?

View 9 Replies View Related

Ubuntu :: Restore The Default Desktop Folder?

Mar 28, 2011

I have a Windows Partition for my Windows system and another partition for my Ubuntu. All my data is located in another partition called User). What I did, in the home folder, I deleted the default user folders (Documents, Desktop, Videos,...) and created a link to to the folders in the User partition. So for Desktop, I created a link to User/Desktop folder, for Documents, I created a link in my home folder to the 'User/My Documents'. What happens now is that all the symlinks I have created appear in my desktop instead of the Desktop items I have in User/Desktop. Any idea how to restore the default desktop folder? I have removed the link to the User/Desktop in my home folder and created a new folder named Desktop and nothing happens.

View 4 Replies View Related

Ubuntu Installation :: Folder Where Packages Are Installed By Default

Feb 15, 2010

Can you tell me where do packages installed with apt-get or synaptic package manager get stored in? I use Ubuntu9.10

View 3 Replies View Related







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