Re: Php error - index.php Programming Web Development by pritaeas > $conf =& JFactory::getConfig(); This assign by reference is a (pre) PHP4 construct. In PHP5 the default assignment is by reference. If you remove the ampersand, your code would still work, but the warning would be gone. Re: conf.org file - mouse Hardware and Software Linux and Unix by John A >I don't have a Xorg.conf file... Every system has one, although it's not always … place for it to be located is /etc/X11/xorg.conf, but if you can't find it, try searching your… filesystem for it. Basically Xorg.conf is responsible for configuration of essential computer peripherals, monitor, etc… conf.org file - mouse Hardware and Software Linux and Unix by Duki … 9 buttons work. I've looked at some of the conf.org file suggestions, but can't make heads or tails… Re: conf.org file - mouse Hardware and Software Linux and Unix by John A Looks like you're not alone. [URL]http://lists.freedesktop.org/archives/xorg-bugzilla-noise/2005-March/007258.html[/URL] Try some of the configurations suggested there. If you're having trouble following the instructions, try posting part of your Xorg.conf file here so we can see what's going on. Re: conf.org file - mouse Hardware and Software Linux and Unix by Duki I don't have a Xorg.conf file... It should be in /etc correct? Re: conf.org file - mouse Hardware and Software Linux and Unix by Infarction Actually, I've heard Fedora has a new way of configuring X11 without an xorg.conf, but I don't know if it's out in FC6 or not (I think it's an optional package, or perhaps still in beta). FC7 will likely not have an xorg.config though, IIRC. sysctl.conf settings Hardware and Software Linux and Unix by b1izzard … See /etc/sysctl.d/ for additional system variables. # See sysctl.conf (5) for information. # #kernel.domainname = example.com # Uncomment… # based on Router Advertisements for this host #net.ipv6.conf.all.forwarding=1 ################################################################### # Additional settings - these settings can… this robot fails to push the complete string from its conf file to a variable. Programming Software Development by matthewl …shows: [code=output] ##################### # Ablaze Bot # ##################### Loading conf file: Success.... Botnick= Botname= IRCServer= aBlazeNet IRCPort= 6667…#aBlazeNet Debug= 2 [/code] An example conf: [code=conf] Botnick=aBlaze Botname=aBlazeNet IRC Bot IRCServer=… Re: sysctl.conf settings Hardware and Software Linux and Unix by b1izzard @rubberman: Thanks for the help, now playing with the .conf settings to tune up my internet connection. httpd.conf and file indexes Hardware and Software Linux and Unix by hookedonphp …,deny Deny from all </FilesMatch> TypesConfig conf/mime.types DefaultType text/plain <IfModule mod_mime_magic.c…> MIMEMagicFile conf/magic </IfModule> HostnameLookups Off #EnableMMAP off … How to confiuge xorg.conf Hardware and Software Linux and Unix by vishalkhialani … kubuntu and not suse I tried to study the xorg.conf file from the suse distro but I could not figure… the same desired effect on Kubuntu. Please see the xorg.conf files below. I will appreciate it if someone can help… out here and tell me how I can configure xorg.conf so that I can use 1024x768. [B]OPEN SUSE XORG… Re: this robot fails to push the complete string from its conf file to a variable. Programming Software Development by matthewl … statements: [code=c] printf("Loading conf file:\n"); if ((conffp = fopen ("…ablaze.conf","r")) != NULL) { char *key,…quot;, Debug); } [/code] my new results: [code] Loading conf file: in config: Botnick = aBlaze in mem: Botnick= aBlaze … Variable pointers or References for .conf parser? Programming Software Development by mknight … get a segment fault where 'servername' is. system header and conf.h's relative include: [code] #include <iostream>… example varible and an shortcut I picked up the source conf.h: [code] #define E extern E string &…servername; [/code] termed source of conf.cpp for veiwing purposes: [code] string &servername; //… Re: this robot fails to push the complete string from its conf file to a variable. Programming Software Development by matthewl … really did. this is my result of it: [code] Loading conf file: in config: Botnick = aBlaze in mem: Botnick= aBlaze in… Re: httpd.conf and file indexes Hardware and Software Linux and Unix by stephen84s … will need to add the following directive in your httpd.conf file [code] DirAccess On [/code] httpd-vhosts.conf isn't accepting new vertual hosts! Hardware and Software Linux and Unix by bigtalk … need some help. I have already set up my httpd.conf file to enable Virtual Hosts. I also set up httpd…-vhosts.conf with a bunch of vitual hosts. I've been using… be doing wrong? The following is my old httpd-vhosts.conf. (Sorry for the long code snippets, but maybe seeing what… Help optimize MySQL conf. Memory to high Programming Databases by Chris920 … - CentOS 6, 1gig of ram, 60gig storage, 256mb Vswap my.conf file: [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql… deleted WP, did a test and used a sample my.conf for 1gig of Ram i came across. My Vswap shot… wordpress is installed. My guess though is its the MySQL conf file based on the "test" i am. What… Re: Variable pointers or References for .conf parser? Programming Software Development by mknight …! I just realized I forgot the most important detail the .conf file: [code] /* general server configurations */ ################# #Server Settings# ################# servername "NightServ… Re: Variable pointers or References for .conf parser? Programming Software Development by iamthwee …! I just realized I forgot the most important detail the .conf file: [code] /* general server configurations */ ################# #Server Settings# ################# servername "NightServ… Re: Variable pointers or References for .conf parser? Programming Software Development by mknight Most certainly! My program is going to be an IRC Services server. At this stage of engineering I am as you see working on the configurations file routings. getting the pram variable data into the an variable that will be accessible through out the program is my problem. As for the main.cpp it is only calling the read_conf(); in conf.cpp. Re: Variable pointers or References for .conf parser? Programming Software Development by iamthwee … the main.cpp it is only calling the read_conf(); in conf.cpp.[/QUOTE] Ok that was a rather generic explantion. I… Re: Variable pointers or References for .conf parser? Programming Software Development by iamthwee Fair enough. I have no idea how a .conf file is meant to be parsed, but if you found a solution good for you. If you get stuck on any other string parsing you can always ask here. Re: /etc/resolv.conf file edition after every reboot for normal user. Hardware and Software Linux and Unix by icaruslnx … can add your additional DNS servers into the /etc/conf.d/dhcpd.conf as an option line, like so option domain-name… xx.xx.xx.xx of course location of the dhcpd.conf will vary depending on the distro you use ;) ooh, just… Re: /etc/resolv.conf Programming Software Development by stephen84s …line which would interest you :- This is from the resolv.conf manual page. [QUOTE]The resolver is a set of routines…[B]res_init()[/B] function reads the configuration files (see resolv.conf(5)) to get the default domain name, search order and….[/QUOTE] So I guess you can read the resolv.conf file using resolver but I could not find any method… Dhcpd.conf Hardware and Software Linux and Unix by keliy1 … Im having technical problems b/c the file /etc/dhcpd.conf does not exists. I went to the text edit and… I created /etc/dhcpd.conf : subnet 192.192.168.100.0 netmask 255.255.255… Custom smb.conf changed workgroup name Hardware and Software macOS by gortonsfi Hey there, I recently edited the smb.conf file on one of my machines(G4 tower running 10.… can double-click and authenticate just fine. In my smb.conf file it still has workgroup equaling my workgroup's name… can't edit vsftpd.conf Hardware and Software Linux and Unix by arya6000 When I click on vsftpd.conf I get a error saying : Nautilus has no installed viewer capable of displaying "/ect/vsftpd/vsftp.conf". Can you please tell me a way to fix this? Thanks parsing conf file in c++ Programming Software Development by invinate … got a really simple problem. i need to parse a conf file, where # is a comment, like this: [CODE] # Begin… conf VAR1 = VAL1 VAR2 = VAL2 # end [/CODE] i want to skip … lighttpd.conf with rails Programming Web Development by pty …/lighttpd start using the config file in /etc/lighttpd/lighttpd.conf it doesn't quite work. It displays the welcome to… trying to view any dynamic pages. Here is my lighttpd.conf file : [code] # lighttpd configuration file server.modules = ( "mod_rewrite"… httpd.conf configuration Hardware and Software Linux and Unix by hayunna …'s what i have done so far: - i edited httpd.conf file and added the following lines at the bottom: NameVirtualHost…/www/virtual/mywebfolder ServerName test </VirtualHost> - saved httpd.conf file then restarted apache i also tried [B]httpd -S…