Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fedora + Apache problems
#1
I successfully installed Fedora thanks to eno_on's instrctions. But I can't get apache to work. I type

su -
*root pass*
system-config-httpd

and this comes up about 20 times

Quote:Gtk-WARNING **: Attempting to add a widget with type GtkLabel to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

then the window pops up and i make soem changes. then i click ok. then yes (to save it) and this comes up in the prompt

Quote:Traceback (most recent call last):
File "/usr/share/system-config-httpd/ApacheConf.py", line 273, in on_main_ok_button_clicked
if not control.write():
File "/usr/share/system-config-httpd/ApacheControl.py", line 63, in write
return stack.apache.write(force)
File "/usr/share/system-config-httpd/ApacheGizmo.py", line 770, in write
return ApacheBase.write (force)
File "/usr/share/system-config-httpd/ApacheBase.py", line 4346, in write
proc.appendStylesheet(STY)
File "/usr/lib/python2.3/site-packages/Ft/Xml/Xslt/Processor.py", line 178, in appendStylesheet
sty = self._styReader.fromSrc(iSrc, extElements=self.extElements)
File "/usr/lib/python2.3/site-packages/Ft/Xml/Xslt/StylesheetReader.py", line 160, in fromSrc
stylesheet = self._parseSrc(new_source)
File "/usr/lib/python2.3/site-packages/Ft/Xml/Xslt/StylesheetReader.py", line 184, in _parseSrc
expat.ErrorString(error.code))
Ft.Xml.Xslt.XsltException: Stylesheet (file:///usr/share/system-config-httpd/httpd.conf.xsl): XML parse error at line 10, column 15: not well-formed (invalid token)


and the window doesn't close



Help please?
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#2
edit the httpd.conf file manually. It works for me (I don't use a GUI).
it's in /etc/httpd/conf
To start apache - do:
Code:
service httpd start
or
Code:
httpd -k start

hope that helps :wink:
Reply
#3
yay! ok I got it and it started. but....
I type in my ip (that i got from http://whatismyip.com ) and it get's connection refused. I tried from another computer and nothing. I tried the internal network IP thingy and it worked from the server PC but not from the other.
suggestions?
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#4
You need to open the http port on the fedora firewall. Otherwise - no connection.
Reply
#5
OK... How?
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#6
wt: download and install webmin. It will make your life a lot easier when configuring the system. Goto www.webmin.com and download the rpm. Install it as root by:

rpm -ivh <rpm name>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)