Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - x1705

Pages: 1 2 3 [4] 5 6 7
46
Apache / .htaccess works, but isnt working completely.?
« on: September 02, 2019, 02:34:32 PM »
I am trying to do a Rewright in my .htaccess file.. i have it placed in my sites document root (example.com/topics)
 
I have also (for testing) added it to the vhosts.conf of that domain. (which didnt do anything better)

here is the htaccess file paste:
Options +FollowSymlinks -MultiViews
Options +Indexes
RewriteEngine On
RewriteBase /
<IfModule mod_rewrite.c>

order allow,deny
allow from all

RewriteRule ^topics/(.+)\+(.+)$ topics/$1_$2 [R=301] [N]
RewriteRule ^/example.com/topics/ /example.com/topics/?

The first 'rule' should replace the "+" symbols into "_" (in the URI) after i do a search..
The second 'rule' should 'remove' the 'QUERY SYMBOLS' ("?q=")

when i do a "search" (using a standard form)
the URL changes to "example.com/topics/?q=word+searched+for"

i would like to make that rewright do this:
"example.com/topics/word_searched_for"

ive seen it done.. there are MANY examples online (stackexchange/google, etc)
NON have worked..

I can verify my mod_rewrite is working.

and

i know the proper .htaccess file IS being used,
as if i make a random change, it will through a "500 Error".
so, i know its working.

anyways, i have worked on this for several Days..
ANY help or suggestion would be grately appreciated.

Thanks in advance.
X



47
Suggestions / Aesthetics..
« on: August 24, 2019, 12:03:46 PM »
I'd like to see the CWP Version shown in the bottom module relocated to that of the "update cwp" Button in the middle..
I think it woul dmake more sense, and even be easier to check.. :)

https://ibb.co/K5cwqj7


48
Updates / Re: .869 now cwp.service / httpd wont start
« on: August 24, 2019, 11:45:10 AM »
Ok, made it back.

just had to restore the cert directory..

still though, how'd that just 'dissapear'?

:/


49
Updates / Re: .869 now cwp.service / httpd wont start
« on: August 24, 2019, 11:30:27 AM »
great.
does anyone know how to at least manually remake/add the cwp.server ssl certs?

or edit a cwp.conf file at least so i can load the panel and get access to the SSL area?

:/

Thanks in Advance.
X

untaring my recent backup now.. /etc/pki/tls/certs
*hopefully* that will do it.

just *how* did this happen..
it was fine last night. then now .. smh.

50
Updates / .869 now cwp.service / httpd wont start
« on: August 24, 2019, 10:20:37 AM »
went to bed last night, just hours ago, everything was fine.. again,
another update, .869... now my cwp.service wont load.. httpd all down.
Varnish cache server down...
Error 503 Backend fetch failed

well, apparently all my CERTS dissapeared.

can we DISable these friggin updates?

:/

getting really fed up with this.

51
CentOS-WebPanel Bugs / Re: after .856 update, user panel not working..
« on: August 24, 2019, 02:40:41 AM »
have you tried this?  This worked before for me as well..

i also had this, it showed a

"WARNING: User Panel possible issue detected! If you have issues with user panel login, CSF Firewall stop/start will be needed."

I did that, completely. and it worked.

Hope that helps.. as i only received this error message briefly.

so, STOP (dont just restart) CSF Firewall..  Then START it.. Wait 
I think i did it twice. but it solved it at once.

Cheers
X

52
CentOS-WebPanel Bugs / Re: User Panel Show not data (0.9.8.869)
« on: August 24, 2019, 02:39:36 AM »
i also had this, it showed a

"WARNING: User Panel possible issue detected! If you have issues with user panel login, CSF Firewall stop/start will be needed."

I did that, completely. and it worked.

Hope that helps.. as i only received this error message briefly.

so, STOP (dont just restart) CSF Firewall..  Then START it.. Wait 
I think i did it twice. but it solved it at once.

Cheers
X

53
Updates / Re: missing Softaculous, replaced by Fantastico F3 ??? :( wtf
« on: August 23, 2019, 05:15:41 PM »
is your MySQL even loading?  that was my main problem, it kept saying "possibly another process using mysql/d", but i couldnt get it to shut down, killall mysql and killall mysqld and also ps -au |grep mysql  .. by process ID.. in the end it was manually stopping it,
mving those ibdata* files and refreshing them back, as i mentioned.. but*  in the interim, there were a *couple* of cwp_updates,
so.. cant pinpoint it, but eventually it started working.. yeah, i even rebooted my server (it *had* been online for more than 300 Days!  until this.. anyways, keep trying.. i hope they permanently_fix this.. and soon.  mysql is such a pain. :/

Cheers.
X

54
Updates / Re: missing Softaculous, replaced by Fantastico F3 ??? :( wtf
« on: August 23, 2019, 04:40:37 PM »
i think theyre working on it, although, imo it shouldnt have been this long of an issue i agree..

for me, i got my panel and db back but using this method..

i wrote it in a bash_script though.. but you can enter it line-by-line...
its also posted somewhere else in this forum.

cheers.. hope it helps.

---------------------------------------------
/etc/init.d/mysql stop
mv /var/lib/mysql/ibdata1 /var/lib/mysql/ibdata1.bak &
mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bak &
mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bak &
cp -a /var/lib/mysql/ibdata1.bak /var/lib/mysql/ibdata1 &
cp -a /var/lib/mysql/ib_logfile0.bak /var/lib/mysql/ib_logfile0 &
cp -a /var/lib/mysql/ib_logfile1.bak /var/lib/mysql/ib_logfile1 &
/etc/init.d/mysql restart


https://superuser.com/questions/603026/mysql-how-to-fix-access-denied-for-user-rootlocalhost



they 'other' suggested method for the User_panel not logging in was this:


# chattr -i -R /home/*

56
Updates / Pre-Update ChangeLog... CWP
« on: August 23, 2019, 01:40:25 AM »
@CWP Admins, (Sandeep/Igor)..

Due to the resent 'glitches' (albeit from the updates or not),

Would it be possible to present a "PRE-Update "ChangeLog" (Detailed)..

panel_suggestion: when an update is available, as indicated on the panel,
allow the end user to view the changes PRIOR to activating update.

I truly think that the consumer base here that uses CWP, and would Like to keep using it.
would be of greater help, in the forums, and for other new-users just joining CWP..

I'll check the cwp website in the meantime, but i think it would be of value to offer it (the pending ChangeLog), right on teh Panel.

X


57
 btw, you can always simply add an index.htm or index.html file that reads with just one line to forward to another domain..

<meta http-equiv="refresh" content="0; URL=http://www.yourdomain.com">

just open a blank editor, nano, vi, emacs, whichever..
and add just that line in the /home/{user}/public_html/{directory} of the one you want to forward FROM..

the "content=0" means to immediately forward, if say, you change that to a "5", it will ..wait.. 5 seconds before forwarding..
ie; you Could post a message that reads, "Please wait, you are being forwarded..", or, "whatever..." etc.

what i do, is create the Domain (in user panel), give it the public_html/newdomain.com
then if i want it to forward out, put that index.html file in that directory Pointing to the domain i want it to forward to.

super easy, and efficient.
the only benefit from doing it via you Domain registrar, is you may* be able to MASK the forward, some do, some don't allow that.
I havent needed it. so i don't.

hope that helps.
X

58
CentOS 7 Problems / Re: CWP User Panel "Hangs" (cant log in)
« on: August 23, 2019, 12:34:51 AM »
Good to hear! 
That is an aweful lot of "fixing" in my opinon, hopefully it won't 'break' anymore ..
Mine, it seems, was due to mySQL, and *possibly* some File Permissions, mostly SQL though.

Glad yours is back.

X

59
MySQL / Re: MySQL Server wont start..
« on: August 22, 2019, 11:59:00 PM »
ok, i managed to get my cwp back together..
i will share with you what i can (and remember correctly):

i did this: (i made it into a script though) but you can do it line-by-line i guess.
Fix for MySQL “Unable to lock ibdata1” error

/etc/init.d/mysql stop
mv /var/lib/mysql/ibdata1 /var/lib/mysql/ibdata1.bak &
mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bak &
mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bak &
cp -a /var/lib/mysql/ibdata1.bak /var/lib/mysql/ibdata1 &
cp -a /var/lib/mysql/ib_logfile0.bak /var/lib/mysql/ib_logfile0 &
cp -a /var/lib/mysql/ib_logfile1.bak /var/lib/mysql/ib_logfile1 &
/etc/init.d/mysql restart

more or less, its just "refreshing" the files, obviously.
weird thing is, i had done this very similar before, just not all at once.
but, its working now..

i also used this PRIOR to running the above commands:
resetting the mysql*root password: this one worked.
some reason, again?, some variants of these don't work. it seemed.
but this has:

https://support.rackspace.com/how-to/mysql-resetting-a-lost-mysql-root-password/

----------
Notes:
after running the above script/commands
it didnt seem to work straight away..

over the days time i would check it, and it wouldnt (on CWP Panel) restart.

i sat down now, and killed all mysql processes (killall mysql, and killall msqld)
some reason at times i would kill -9 process ID, etc, but it would still say
I had another process running mysqld, and *that* (i think) has been the problem all along.

maybe its reporting a false process/positive? i dont know, i had rebooted, started/stopped/disabled, the whole routine.
maybe a weird 'glitch' in killing/unloading the MYSQL process.. anyways, the above method has worked, for me at least.

Really hope it helps someone else too.
I'm keeping this in my "NOTES" on CWP for future reference.. LOL 
What a pain.

Cheers.
X

60
MySQL / Re: MySQL Server wont start..
« on: August 22, 2019, 08:08:37 PM »
can't say for sure, i dont want to point the error in the wrong direction, but it basically happend "overnight", it was fine one day, then without any changes.. (and if i remember correctly the first time, there was an update, but again, i cant say 'for sure' what the cuse of this is exactly,  it's happened twice now, most recently. it is, if not at an upgrade :/   its a server ran on my laptop, which basically sits in the corner, lid closed.  rarely have had to touch it.  actually,it had been running without error for a little over 300 Days (uptime).
since the update, i think it was .862?  (i posted somewhere else), ive had this error keeps reappearing. since the first time. :/



Pages: 1 2 3 [4] 5 6 7