Well there are a couple of important steps when writing the conf file. Also the wallet must be run in 'server' mode.
If you are using an Antminer then you will need to install the litecoin cash wallet (full program) on a PC or Mac and have it fully synced with the blockchain.
Now that you have your wallet synced you will have to find the IP address of that computer and make sure it is on the same network/ip range/dns etc.
Open the RUN command and type %appdata% and press enter, open the litecoin cash folder and edit the conf file with notepad.
Enter these settings...
rpcuser=test
rpcpassword=x
rpcallowip=192.168.1.1 (this IP will be your PC ip address running litecoin cash wallet)
rpcport=9050
daemon=1
server=1
gen=0
block_nTime=1317972665
block_nNonce=2084524493
and save the conf file.
Once you have the IP address of the PC with your wallet program you will have to run the wallet in server mode. If using windows, open the run command and type cmd (a terminal/DOS window will open) now navigate to the litecoin cash folder and you should see the litecoin cash-qt.exe file, type lite then press TAB then space -server (the dash is very important or you will get an error, also make sure litecoin cash is not running) and press enter.
Now litecoin cash wallet is running in server mode, now you just have to point your miners to the PC IP address and use the port number 9050. So go to your miner config page (CGMiner usually) and enter the IP address and port number like 192.168.1.1:9050 and the user name MUST be the same as in the conf file (test) and the password x. Now save the settings and reboot your miner. Now your solo mining.