hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Apache mod_substitute linebreaks
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Apache mod_substitute linebreaks

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-06-2010, 11:06 PM
FLCLFan FLCLFan is offline
Junior Guru Wannabe
 
Join Date: Jun 2008
Posts: 54

Apache mod_substitute linebreaks


I'm using apache's substitute on my server but I cant figure out how to substitute in line breaks.

The code looks something like this:
Code:
Substitute 's|REPLACE-THIS|<div style="margin:0;width:728px;">Stuff. New line. Etc.</div>|q'
I just dont know what I put in there to produce line breaks.

Anyone know what I need to add?

Thanks

Reply With Quote


Sponsored Links
  #2  
Old 06-07-2010, 01:06 AM
fabin fabin is offline
Web Hosting Evangelist
 
Join Date: Mar 2009
Location: Gods Own Country
Posts: 530
I'm not sure, will HTML break ( "<br />" ) work for you?

__________________
Fabin M @ Xieles Support
High Quality Server Management | support @ xieles.com
http://xieles.com

Reply With Quote
  #3  
Old 06-07-2010, 01:09 AM
FLCLFan FLCLFan is offline
Junior Guru Wannabe
 
Join Date: Jun 2008
Posts: 54
Quote:
Originally Posted by fabin View Post
I'm not sure, will HTML break ( "<br />" ) work for you?
No, im talking about actual line breaks in the code (code being started on a new line), not in the rendered html.

Reply With Quote
Sponsored Links
  #4  
Old 06-08-2010, 03:55 AM
FLCLFan FLCLFan is offline
Junior Guru Wannabe
 
Join Date: Jun 2008
Posts: 54
Bump! Anyone?

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache worker mpm have problem with apache-top izumi777 Hosting Security and Technology 3 05-04-2010 10:00 PM
After upgrading apache 1.3.x to apache 2.x on redhat Linux the webs do not show. jonathan184 Hosting Security and Technology 1 11-04-2005 11:22 AM
Cleaning linebreaks from source code Mekhu Web Design and Content 1 08-11-2005 12:56 AM
Custom apache module doesn't work in Apache 2 Skeptical Hosting Security and Technology 3 12-05-2004 01:17 AM
apache problem... switch from cgi to apache module URGENT! needhelpcom Hosting Security and Technology 8 06-07-2004 06:53 AM

Related posts from TheWhir.com
Title Type Date Posted
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
The Apache Software Foundation Launches Hadoop v1.0 Web Hosting News 2012-01-05 18:29:16
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58
Patch Released for Apache Software DDoS Vulnerability Web Hosting News 2011-08-26 15:03:10


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?