403 after making changes .htaccess/Rewrite

#1
Dear All,

Need your kind help to get it resolved, it was all fine i was trying to activate ReWrite activated made a few changes in .htaccess but unfortunately, it started 403 following is the log plz help.

TimeLevelMessage 2020-08-15 00:49:25.459112NOTICE

[testAndFixDirs] "/usr/local/lsws//tmp/" exist and change own to 65534:65534.
2020-08-15 00:49:25.459130NOTICE[testAndFixDirs] "/usr/local/lsws//tmp/ocspcache/" exist and changed mod to 0700.

2020-08-15 00:49:25.459173NOTICE[testAndFixDirs] "/usr/local/lsws//conf/" own or permission need to be changed

.2020-08-15 00:49:25.471765NOTICELoading LiteSpeed/1.6.15 Open
module versions:
modgzip 1.1
cache 1.62
modinspector 1.1
uploadprogress 1.1
mod_security 1.3
(built: Wed Aug 5 17:58:31 UTC 2020) ...2020-08-15 00:49:25.471774NOTICEUsing [BoringSSL]2020-08-15 00:49:25.473836NOTICE[ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.70962020-08-15 00:49:25.477909NOTICEchroot is disabled.2020-08-15 00:49:25.510853NOTICE[PID: 15948]: forked cgid: 159632020-08-15 00:49:25.524802NOTICECreated new Listener [adminListener].2020-08-15 00:49:25.524964NOTICECreated new Listener [Default].2020-08-15 00:49:25.525003NOTICEThe maximum number of file descriptor limit is set to 50000.2020-08-15 00:49:25.561526NOTICE[ZConfManager] No VHosts added, do not send!2020-08-15 00:49:25.561813NOTICEInstance is ready for service.2020-08-15 00:49:25.562099NOTICE[AutoRestarter] new child process with pid=15994 is forked!2020-08-15 00:49:25.562940NOTICEAIO is not supported on this machine!2020-08-15 00:49:25.563137NOTICE[child: 15994] Successfully change current user to nobody2020-08-15 00:49:25.563164NOTICEChild: 15994] Core dump is enabled.2020-08-15 00:49:25.563322NOTICE[LocalWorker::workerExec] Config[lsphp]: suExec uid 65534 gid 65534 cmd /usr/local/lsws/lsphp73/bin/lsphp, final uid 65534 gid 65534.2020-08-15 00:49:25.563786NOTICE[lsphp] add child process pid: 159952020-08-15 00:49:25.563861NOTICE[Child: 15994] Setup swapping space...2020-08-15 00:49:25.563971NOTICE[Child: 15994] LiteSpeed/1.6.15 Open
module versions:
modgzip 1.1
cache 1.62
modinspector 1.1
uploadprogress 1.1
mod_security 1.3
starts successfully!2020-08-15 00:49:32.594264NOTICEServer Restart Request via Signal...2020-08-15 00:49:32.594501NOTICEPass listener *:7080, copy fd 20 to 1001.2020-08-15 00:49:32.594529NOTICEPass listener *:8088, copy fd 22 to 1000.2020-08-15 00:49:32.594845NOTICE[Child: 15994] Start shutting down gracefully ...2020-08-15 00:49:32.598216NOTICE[Child: 15994] Shut down successfully!2020-08-15 00:49:32.603541NOTICE[AutoRestarter] cleanup children processes and unix sockets belong to process 15994 !2020-08-15 00:49:32.621762NOTICELoading LiteSpeed/1.6.15 Open
module versions:
modgzip 1.1
cache 1.62
modinspector 1.1
uploadprogress 1.1
mod_security 1.3
(built: Wed Aug 5 17:58:31 UTC 2020) ...2020-08-15 00:49:32.621771NOTICEUsing [BoringSSL]2020-08-15 00:49:32.622049NOTICE[AutoRestarter] child process with pid=15994 exited with status=0!2020-08-15 00:49:32.622107NOTICE[PID:15948] Server Stopped!2020-08-15 00:49:32.625206NOTICE[ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.74302020-08-15 00:49:32.625412NOTICERecovering server socket: [*:8088]2020-08-15 00:49:32.625433NOTICERecv listener *:8088, copy fd 1000 to 8.2020-08-15 00:49:32.625441NOTICERecovering server socket: [*:7080]2020-08-15 00:49:32.625452NOTICERecv listener *:7080, copy fd 1001 to 9.2020-08-15 00:49:32.625471NOTICEchroot is disabled.2020-08-15 00:49:32.642172NOTICE[PID: 16489]: forked cgid: 164942020-08-15 00:49:32.644671NOTICEReuse current listener [adminListener].2020-08-15 00:49:32.644836NOTICECreated new Listener [Default].2020-08-15 00:49:32.644857NOTICEThe maximum number of file descriptor limit is set to 50000.2020-08-15 00:49:32.648417NOTICE[ZConfManager] No VHosts added, do not send!2020-08-15 00:49:32.649429NOTICEInstance is ready for service.2020-08-15 00:49:32.649663NOTICE[AutoRestarter] new child process with pid=16495 is forked!2020-08-15 00:49:32.650231NOTICEAIO is not supported on this machine!2020-08-15 00:49:32.650304NOTICE[child: 16495] Successfully change current user to nobody2020-08-15 00:49:32.650317NOTICEChild: 16495] Core dump is enabled.2020-08-15 00:49:32.650376NOTICE[Child: 16495] Setup swapping space...2020-08-15 00:49:32.650423NOTICE[Child: 16495] LiteSpeed/1.6.15 Open
module versions:
modgzip 1.1
cache 1.62
modinspector 1.1
uploadprogress 1.1
mod_security 1.3
starts successfully!2020-08-15 00:50:52.556021NOTICEServer Restart Request via Signal...2020-08-15 00:50:52.556253NOTICEPass listener *:7080, copy fd 9 to 1001.2020-08-15 00:50:52.556274NOTICEPass listener *:80, copy fd 23 to 1000.2020-08-15 00:50:52.556538NOTICE[Child: 16495] Start shutting down gracefully ...2020-08-15 00:50:52.556597NOTICE[Child: 16495] Shut down successfully!2020-08-15 00:50:52.557628NOTICE[AutoRestarter] cleanup children processes and unix sockets belong to process 16495 !2020-08-15 00:50:52.583994NOTICELoading LiteSpeed/1.6.15 Open
module versions:
modgzip 1.1
cache 1.62
modinspector 1.1
uploadprogress 1.1
mod_security 1.3
(built: Wed Aug 5 17:58:31 UTC 2020) ...2020-08-15 00:50:52.584006NOTICEUsing [BoringSSL]2020-08-15 00:50:52.584332NOTICE[AutoRestarter] child process with pid=16495 exited with status=0!2020-08-15 00:50:52.584403NOTICE[PID:16489] Server Stopped!2020-08-15 00:50:52.585765NOTICE[ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.78632020-08-15 00:50:52.585987NOTICERecovering server socket: [*:80]2020-08-15 00:50:52.586016NOTICERecv listener *:80, copy fd 1000 to 8.2020-08-15 00:50:52.586028NOTICERecovering server socket: [*:7080]2020-08-15 00:50:52.586043NOTICERecv listener *:7080, copy fd 1001 to 9.2020-08-15 00:50:52.586069NOTICEchroot is disabled.2020-08-15 00:50:52.601889NOTICE[PID: 29950]: forked cgid: 299552020-08-15 00:50:52.604976NOTICEReuse current listener [adminListener].2020-08-15 00:50:52.605143NOTICEReuse current listener [Default].2020-08-15 00:50:52.605157NOTICEThe maximum number of file descriptor limit is set to 50000.
 
#3
Thank you so much for the help Eric, Please find the current .htaccess content, for the previous this is what i reverted back what it was earlier but no luck am totally stuck.



.htaccess in my Pointed directory
__________________________________
DirectoryIndex index.php

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} .*mod_rewrite$
RewriteRule . index.php [L,QSA]

</IfModule>

.htaccess in my default home directory
__________________________________
cat: /home/mydomain.com/public_html/mypointeddirectory/.htaccess: No such file or directory

Does this seem like some permission issue? as I cannot even download I file in cyber panel file manager it gives me a 403
your kind help would be really appreciated.
 
#4
2020-08-15 00:49:25.459112. NOTICE. [testAndFixDirs] "/usr/local/lsws//tmp/" exist and change own to 65534:65534.2020-08-15 00:49:25.459130. NOTICE. [testAndFixDirs] "/usr/local/lsws//tmp/ocspcache/" exist and changed mod to 0700.2020-08-15 00:49:25.459173. NOTICE. [testAndFixDirs] "/usr/local/lsws//conf/" own or permission need to be changed.

is this normal in the log ? plz guide
 

Attachments

Top