![]() |
HELP! with Pico please.
How can I edit multiple files at once?
the star is not working. |
Is that possible?
|
Quote:
Why not run screen? |
Im hoping it is.
Well, here is my problem, I cant keep uploading an htaccess file to every virtual domain, everytime I change it. Problem is, I cant get my htaccess code to work in apache. All I can work is the error docs. I need to get these to function: Deny from {ip} and RewriteRule .*\.(gif|GIF|Gif|jpg|JPG|jpeg)$ http://www.mydomain.com/error.jpg [R,NC] but everytime I add these lines, apache dies :( |
Quote:
|
Quote:
As for your apache problem, make sure that you're not trying to set something which can only be set from the httpd.conf file. |
A quick and dirty!
I tried to get it to a one-liner but I must've missed something. This way works at least. Create a file that is called "edit.sh" and add this to it: Quote:
Change the file to "chmod 755 edit.sh". Now run this from the main directory where you can find the .htaccess files: Quote:
"-maxdepth 2" will only look for .htaccess maximum 2 directories deep, change to suit your needs. DISCLAIMER! If you fuck up, I'm not responsible :winkwink: It worked for me. So try it in a test directory first and see if it will look the way you want it. |
All times are GMT -7. The time now is 03:57 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123