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


ADVERTISEMENT

Ubuntu :: Zip File Not Unzipping On Windows?

Feb 27, 2011

I made an 8GB password protected Zip file on Ubuntu 10.10, sent it to a friend who's using Windows 7, and now she can't unzip it. The file transfer speeds between us are very slow, so I don't want to resend it. Every application she's tried (WinRAR, WinZip, and 7Zip) fails and gives some sort of "invalid archive format" error.

I had her do an MD5 checksum on the file and it matches mine. So, the likelihood of it being damaged during transmission is very small. I also successfully unzipped it on my end and used TeamViewer to try and get it unzipped on her end, just to make sure she wasn't doing anything wrong, she wasn't.

What could be the problem be UbuntuForums? Is there a difference in the way Windows and Linux handles zip files that is causing this problem?

View 9 Replies View Related

Ubuntu :: How To Install Cisco Packet Tracer After Unzipping

Oct 11, 2010

I unzipped the PacketTracer52 tar.gz folder Subsequently, there is an install script there. I dont know how to activate it.

View 2 Replies View Related

General :: Unzipping A 4GB .zip File On CentOS 5.5

Mar 8, 2011

I am in the process of moving from a windows to a linux box. I zipped a folder of images on the windows box and ftpd it to the linux box. When I try to unzip the file I get:

How can I unzip this file if it's too big?

View 1 Replies View Related

General :: Option For Unzipping Graphically?

Dec 19, 2010

i have downloaded the software bluez-4.81.tar.gz from internet and saved iy on desk top.in command line i typed like following.

george@george-desktop ~ $ tar xvzf file:///home/george/Desktop/bluez-4.81.tar.gz
but i have got result like this...
rsh: Could not resolve hostname file: Name or service not known
tar: file:///home/george/Desktop/bluez-4.81.tar.gz: Cannot open: Input/output error

[Code].....

there is a option for unzipping graphically.so i right cliccked using mouse and extracted.then a folder named "bluez-4.81" appeared on desk top. Now what are the steps to install this bluetooth software?

View 3 Replies View Related

General :: Unzipping Multiple Files At 1 Time

Aug 6, 2010

I am having a problem unzipping multiple files at 1 time.

Proper unzip command that will:
1) extract the file from the zip.
2) remove the zip file.

All my zip files start with SB and end with .emi.zip

SB*.emi.zip

View 2 Replies View Related

General :: Error In Unzipping Using System Function

Jul 23, 2010

I have to unzip only files in zipped folder in current directory by c program. For that I am using system() function. This function returns zero.

when I write system("unzip -jo /storage/conf.zip") but folder will not be unzipped. Same will be successful if tried on command line.

View 1 Replies View Related

Red Hat :: Unzipping - Write Error (disk Full?)

Apr 9, 2010

In fact I'm not the systems administrator, but I have a strange problem unzipping a file. I think is a problem of memory or swap space or somethin similar, but I'm going explain the problem in detail: Distribution: Red Hat Enterprise Linux ES release 4 (Nahant Update 3) I'm connected as root. I have this zipped file: -rw-r--r-- 1 root root 678183271 abr 7 15:30 Master032010.zip it contains a 2,4G file

[Code]...

View 14 Replies View Related

Fedora :: Unzipping Files Bigger Than 20gb Error

Jan 31, 2010

Here is the error I get from unzipiping a "file" that is approximately 20GB

Quote:

View 2 Replies View Related

General :: Unzipping A Huge File Stalls The Server?

Jul 8, 2011

I want to extract a huge .tar.gz file but when I do extract it stalls the server. The server is write heavy and extracting seems to choke the disk. Is there a nice way to extract without stopping the world? I've tried the 'nice' and 'cpulimit' command but they don't seem to do the trick.

View 2 Replies View Related

Software :: Getting Error While Unzipping A UNIX ZIP File - Cannot Find Zipfile Directory

Feb 18, 2011

I am facing an issue, while unzipping an UNIX ZIpped file. The message I am getting is as below.

/> unzip np_ARUDDP99_20110201.zip
Archive: np_ARUDDP99_20110201.zip

End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of np_ARUDDP99_20110201.zip or np_ARUDDP99_20110201.zip.zip, and cannot find np_ARUDDP99_20110201.zip.ZIP, period.

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

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 :: .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

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 Servers :: Changed AllowOverride Still HTAccess Not Working

Apr 6, 2010

I have followed the tutorial from this site [URL]. I have changed this file /etc/apache2/sites-available/default and in this file I have changed AllowOverride None to AllowOverride All but still I get:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. I have installed and reinstalled apache 2 time already.

View 8 Replies View Related

Ubuntu Servers :: HTAccess Stopped Working For 301 Apache2

Apr 29, 2010

I am not sure what happened, but my .htaccess file is no longer working for my 301 redirects. I did have a hard time getting it working a few weeks back (when I first set it up), unfortunately I did not document it well. Main question is for multiple sites getting redirected, do I want the additional sites listed as aliases? My original setup virtual host config listed seven additional hostnames as aliases.

I later had difficulty with google listing these secondary domains within search result and hurting my page rank. So I setup 301 redirects, and from memory, I had to leave the alias names for the .htacces 301 redirect to work. Now it won't work either way. Can anyone tell me if the aliases need to be in place? Do I need to setup individual vhost files and add an .htacces 301 for each? What is the preferred way to do this? I tried reloading apache2 but it did not help.

Permissions for .htacces:
Code:
-rwxr-xr-x 1 eric www-data 866 2010-04-14 12:06 .htaccess
Attaced is my .htaccess. It resides in the site root directory. Also attached is the virtual host config file.
httpd.conf

Code:
NameVirtualHost *
NameVirtualHost *:443
AddHandler cgi-script .pl
RewriteEngine On

I'm still not sure after hours of reading the various how-to's, what should the file permissions be for the .htaccess. I have not performed any updates during the period it was working till now.

View 2 Replies View Related

Ubuntu Servers :: .htaccess-404 Error Page On Load

Jul 12, 2010

I have an existing blog that I migrated to ubuntu server recently. The site was running fine until I transfered it over to ubuntu. I get a 404 error whenever I view pages that is not my index. I believe it has to do with my .htaccess file.

I have enclosed the .htaccess and my default file taken from sites-enabled.

.htaccess
Code:
#####################
#PREVENT viewing of .htaccess file
<Files .htaccess>
order allow,deny

[Code].....

View 9 Replies View Related

Ubuntu Servers :: .htaccess For Redirect After Site Move?

Aug 10, 2010

How can I redirect my URL after a site move.I have phpBB forum software installed on a 10.04 server, and I recently moved the forums from mysite.com/forums/ to mysite.com/.

So, a thread that looked like
mysite.com/forums/viewtopic=...
now looks like

[code]...

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

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

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

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

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







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