![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Aug 2004
Posts: 913
|
HELP! with Pico please.
How can I edit multiple files at once?
the star is not working.
__________________
Sig for sale. ICQ: 163-545-054 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: May 2004
Posts: 434
|
Is that possible?
__________________
ICQ:2116226 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
Quote:
Why not run screen? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Aug 2004
Posts: 913
|
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 ![]()
__________________
Sig for sale. ICQ: 163-545-054 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Aug 2004
Posts: 913
|
Quote:
__________________
Sig for sale. ICQ: 163-545-054 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | ||
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
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 ![]() It worked for me. So try it in a test directory first and see if it will look the way you want it. |
||
![]() |
![]() ![]() ![]() ![]() ![]() |