473,385 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

'<"C:/Program> was not closed' in httpd.conf

Hi guys, my problem is when I installing the Apache v2.2.4 as my local server to run my php, and then run the test configuration, it tells me this error:

httpd.exe: Syntax error on line 152 of C:/Program Files/Apache Software Foundati
on/Apache2.2/conf/httpd.conf: C:/Program Files/Apache Software Foundation/Apache
2.2/conf/httpd.conf:152: <"C:/Program> was not closed.
Note the errors or messages above, and press the <ESC> key to exit. 27...

the current text written at line 152 of this file is:

<"C:\Program Files\Apache Software Foundation\Apache2.2\htdocs">

Please help.thanks

BR,
coaxfiber
May 20 '07 #1
4 6257
mwasif
802 Expert 512MB
It seems that Apache having trouble with space in "Program Files". Specify another webroot directory which should not contain any space in path e.g.

c:\webroot
May 20 '07 #2
pbmods
5,821 Expert 4TB
Changed title to better reflect contents.

Moving to the Apache forum....
May 20 '07 #3
Motoma
3,237 Expert 2GB
Try changing the line to one of the following:
<"C:/Program\ Files/Apache Software Foundation/Apache2.2/htdocs">
<"C:\Progra~1\Apache Software Foundation\Apache2.2\htdocs">

What installer did you use for setting up Apache?
May 21 '07 #4
Try changing the line to one of the following:
<"C:/Program\ Files/Apache Software Foundation/Apache2.2/htdocs">
<"C:\Progra~1\Apache Software Foundation\Apache2.2\htdocs">

What installer did you use for setting up Apache?

I used XAMPP that works fine just now.

But before I tried tried to used the PHP & APACHE - .msi installer.
Aug 21 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Eric A. Forgy | last post by:
Hello, I am just learning Java and am trying to write a method that does something like //=========================================== public Static List find(double array,double val,String...
1
by: Christian Schmidbauer | last post by:
Hello! I prepare my XML document like this way: ------------------------------------------------------- PrintWriter writer; Document domDocument; Element domElement; // Root tag
7
by: Diandian Zhang | last post by:
Does anyone have an idea, how to do it? Thanks in advance!
0
by: Joeyej | last post by:
Hi - I'm trying to move/use a web form (containing some javascript field checks) previously hosted on a Windows 2000 server. However, the FORM METHOD="post..." command in the form (shown below)...
7
by: Calvin KD | last post by:
Hi everyone, Has someone out there experienced the same problem? What i wanted to do is to display a popup window (modal) upon the loading of a webpage. Here is my code sample (in html view):...
2
by: andrew007 | last post by:
I do xml / xslt transformation using asp.net but I found any value (w/xml format) in xml node html-encoded to &lt and &gt format if it's > or < tag. Since I have sub xml data in a parent xml node...
22
by: stephen | last post by:
I have created an order form that users javascript to create a new html document when the customers clicks the "print page" button. Once the new document has been created it then prints the...
3
by: Steven.Xu | last post by:
hi everybody, i am useing some classes which in System.Xml to deal with xml document. what can i do if the document include "<" or ">"? Thanks.
1
by: ismailc | last post by:
Hi, I need help please. Update system to to new version & moved on to .Net2 But now my code that worked in my .Net1 xslt does not work. .Net1 fine: <xsl:stylesheet...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.